Huge pages not supported by macOS ARM.

This commit is contained in:
XMRig 2020-12-16 01:59:20 +07:00
parent a934ba3079
commit 6b21a51a2f
No known key found for this signature in database
GPG key ID: 446A53638BE94409
2 changed files with 13 additions and 6 deletions

View file

@ -59,7 +59,11 @@
bool xmrig::VirtualMemory::isHugepagesAvailable()
{
# if defined(XMRIG_OS_MACOS) && defined(XMRIG_ARM)
return false;
# else
return true;
# endif
}