Huge pages not supported by macOS ARM.
This commit is contained in:
parent
a934ba3079
commit
6b21a51a2f
2 changed files with 13 additions and 6 deletions
|
@ -59,7 +59,11 @@
|
|||
|
||||
bool xmrig::VirtualMemory::isHugepagesAvailable()
|
||||
{
|
||||
# if defined(XMRIG_OS_MACOS) && defined(XMRIG_ARM)
|
||||
return false;
|
||||
# else
|
||||
return true;
|
||||
# endif
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue