mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-27 06:20:51 -05:00
Added 1GB hugepages support for Linux
This commit is contained in:
@@ -57,4 +57,12 @@ namespace randomx {
|
||||
freePagedMemory(ptr, count);
|
||||
};
|
||||
|
||||
void* OneGbPageAllocator::allocMemory(size_t count) {
|
||||
return allocOneGbPagesMemory(count);
|
||||
}
|
||||
|
||||
void OneGbPageAllocator::freeMemory(void* ptr, size_t count) {
|
||||
freePagedMemory(ptr, count);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user