1
0
mirror of https://github.com/xmrig/xmrig.git synced 2026-04-18 13:22:43 -04:00

Added 1GB hugepages support for Linux

This commit is contained in:
SChernykh
2019-12-05 19:39:47 +01:00
parent caa2da8bb3
commit 1fbbae1e4a
28 changed files with 156 additions and 50 deletions

View File

@@ -43,4 +43,9 @@ namespace randomx {
static void freeMemory(void*, size_t);
};
struct OneGbPageAllocator {
static void* allocMemory(size_t);
static void freeMemory(void*, size_t);
};
}