summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordivinity76 <divinity76@gmail.com>2024-01-29 15:45:41 +0100
committerGitHub <noreply@github.com>2024-01-29 09:45:41 -0500
commit2aed77eb06a329f0d82bb1c467f4244904d4073f (patch)
tree2462ef95a41d5d1ebc63526104e839998528fffe
parentc82d18e863fcde91b4b1109b1d0c73ea4470c405 (diff)
fix typo "RLIMIT_MLOCK" (#5175)
-rw-r--r--llama.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llama.cpp b/llama.cpp
index f7d054c5..45569f7d 100644
--- a/llama.cpp
+++ b/llama.cpp
@@ -1158,10 +1158,10 @@ struct llama_mlock {
#ifdef __APPLE__
#define MLOCK_SUGGESTION \
"Try increasing the sysctl values 'vm.user_wire_limit' and 'vm.global_user_wire_limit' and/or " \
- "decreasing 'vm.global_no_user_wire_amount'. Also try increasing RLIMIT_MLOCK (ulimit -l).\n"
+ "decreasing 'vm.global_no_user_wire_amount'. Also try increasing RLIMIT_MEMLOCK (ulimit -l).\n"
#else
#define MLOCK_SUGGESTION \
- "Try increasing RLIMIT_MLOCK ('ulimit -l' as root).\n"
+ "Try increasing RLIMIT_MEMLOCK ('ulimit -l' as root).\n"
#endif
bool raw_lock(const void * addr, size_t size) const {