|
@ -467,7 +467,7 @@ inline uint8_t* dsacache::Cache::AllocOnNode(const size_t size, const int node) |
|
|
return nullptr; |
|
|
return nullptr; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if (CheckFlag(flags_, FLAG_TRIGGER_PAGES)) { |
|
|
|
|
|
|
|
|
if (CheckFlag(flags_, FLAG_FORCE_MAP_PAGES)) { |
|
|
static const size_t page_size_b = getpagesize(); |
|
|
static const size_t page_size_b = getpagesize(); |
|
|
|
|
|
|
|
|
for (size_t i = 0; i < size; i += page_size_b) { |
|
|
for (size_t i = 0; i < size; i += page_size_b) { |
|
|