Browse Source

fix old flag name from FLAG_TRIGGER_PAGES to FLAG_FORCE_MAP_PAGES

master
Constantin Fürst 11 months ago
parent
commit
f4159d8149
  1. 2
      offloading-cacher/cache.hpp

2
offloading-cacher/cache.hpp

@ -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) {

Loading…
Cancel
Save