NUMA: add NUMA mask to process VM structure

This commit is contained in:
Balazs Gerofi
2016-10-14 21:15:23 +09:00
parent 3ee3a9df6d
commit faa929e717
2 changed files with 18 additions and 0 deletions

View File

@ -22,6 +22,7 @@
#include <memobj.h>
#include <affinity.h>
#include <syscall.h>
#include <bitops.h>
#define VR_NONE 0x0
#define VR_STACK 0x1
@ -165,6 +166,8 @@
#define NOPHYS ((uintptr_t)-1)
#define PROCESS_NUMA_MASK_BITS 64
#include <waitq.h>
#include <futex.h>
@ -594,6 +597,7 @@ struct process_vm {
int exiting;
long currss;
DECLARE_BITMAP(numa_mask, PROCESS_NUMA_MASK_BITS);
};
static inline int has_cap_ipc_lock(struct thread *th)