diff options
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/mempolicy.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/include/uapi/linux/mempolicy.h b/include/uapi/linux/mempolicy.h index 472de8a5d37e..6a1baae3775d 100644 --- a/include/uapi/linux/mempolicy.h +++ b/include/uapi/linux/mempolicy.h | |||
| @@ -49,9 +49,16 @@ enum mpol_rebind_step { | |||
| 49 | 49 | ||
| 50 | /* Flags for mbind */ | 50 | /* Flags for mbind */ |
| 51 | #define MPOL_MF_STRICT (1<<0) /* Verify existing pages in the mapping */ | 51 | #define MPOL_MF_STRICT (1<<0) /* Verify existing pages in the mapping */ |
| 52 | #define MPOL_MF_MOVE (1<<1) /* Move pages owned by this process to conform to mapping */ | 52 | #define MPOL_MF_MOVE (1<<1) /* Move pages owned by this process to conform |
| 53 | #define MPOL_MF_MOVE_ALL (1<<2) /* Move every page to conform to mapping */ | 53 | to policy */ |
| 54 | #define MPOL_MF_INTERNAL (1<<3) /* Internal flags start here */ | 54 | #define MPOL_MF_MOVE_ALL (1<<2) /* Move every page to conform to policy */ |
| 55 | #define MPOL_MF_LAZY (1<<3) /* Modifies '_MOVE: lazy migrate on fault */ | ||
| 56 | #define MPOL_MF_INTERNAL (1<<4) /* Internal flags start here */ | ||
| 57 | |||
| 58 | #define MPOL_MF_VALID (MPOL_MF_STRICT | \ | ||
| 59 | MPOL_MF_MOVE | \ | ||
| 60 | MPOL_MF_MOVE_ALL | \ | ||
| 61 | MPOL_MF_LAZY) | ||
| 55 | 62 | ||
| 56 | /* | 63 | /* |
| 57 | * Internal flags that share the struct mempolicy flags word with | 64 | * Internal flags that share the struct mempolicy flags word with |
