Huge pages not supported by macOS ARM.

This commit is contained in:
XMRig
2020-12-16 01:59:20 +07:00
parent 5f35af71a2
commit f169227ebd
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
}