set_mempolicy(): limit maxnode to PROCESS_NUMA_MASK_BITS

This commit is contained in:
Balazs Gerofi
2016-12-08 20:48:12 +09:00
parent 202bfd9955
commit 7d13bfb14e
2 changed files with 10 additions and 4 deletions

View File

@ -166,7 +166,7 @@
#define NOPHYS ((uintptr_t)-1)
#define PROCESS_NUMA_MASK_BITS 64
#define PROCESS_NUMA_MASK_BITS 256
/*
* Both the MPOL_* mempolicy mode and the MPOL_F_* optional mode flags are