fix missing include for Intel MPK support

pull/138/head
Daniel Micay 2021-05-21 09:07:28 -04:00
parent e0ecacff45
commit be6dde66f9
1 changed files with 4 additions and 0 deletions

View File

@ -21,6 +21,10 @@
#include "random.h"
#include "util.h"
#ifdef USE_PKEY
#include <sys/mman.h>
#endif
#define SLAB_QUARANTINE (SLAB_QUARANTINE_RANDOM_LENGTH > 0 || SLAB_QUARANTINE_QUEUE_LENGTH > 0)
#define REGION_QUARANTINE (REGION_QUARANTINE_RANDOM_LENGTH > 0 || REGION_QUARANTINE_QUEUE_LENGTH > 0)
#define MREMAP_MOVE_THRESHOLD (32 * 1024 * 1024)