mmap : skip resource limit checks on AIX (#12541)
This commit is contained in:
parent
9b169a4d4e
commit
c54f6b7988
1 changed files with 1 additions and 1 deletions
|
@ -476,7 +476,7 @@ struct llama_mlock::impl {
|
||||||
|
|
||||||
char* errmsg = std::strerror(errno);
|
char* errmsg = std::strerror(errno);
|
||||||
bool suggest = (errno == ENOMEM);
|
bool suggest = (errno == ENOMEM);
|
||||||
#if defined(TARGET_OS_VISION) || defined(TARGET_OS_TV)
|
#if defined(TARGET_OS_VISION) || defined(TARGET_OS_TV) || defined(_AIX)
|
||||||
// visionOS/tvOS dont't support RLIMIT_MEMLOCK
|
// visionOS/tvOS dont't support RLIMIT_MEMLOCK
|
||||||
// Skip resource limit checks on visionOS/tvOS
|
// Skip resource limit checks on visionOS/tvOS
|
||||||
suggest = false;
|
suggest = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue