diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-07-07 01:27:08 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-07-07 01:27:08 -0400 |
| commit | 9f45efb9286268e01d5022d34a58a68f53ca3072 (patch) | |
| tree | ac152f5ab7bf104ee2c4ad3a596ce0d2595f1d59 /include/uapi/linux | |
| parent | dc502142b65b9e31eb90ab4344b3acadb2698317 (diff) | |
| parent | 4932381ee2a77a21641009149722e1bb92bd99e2 (diff) | |
Merge branch 'akpm' (patches from Andrew)
Merge misc updates from Andrew Morton:
- a few hotfixes
- various misc updates
- ocfs2 updates
- most of MM
* emailed patches from Andrew Morton <akpm@linux-foundation.org>: (108 commits)
mm, memory_hotplug: move movable_node to the hotplug proper
mm, memory_hotplug: drop CONFIG_MOVABLE_NODE
mm, memory_hotplug: drop artificial restriction on online/offline
mm: memcontrol: account slab stats per lruvec
mm: memcontrol: per-lruvec stats infrastructure
mm: memcontrol: use generic mod_memcg_page_state for kmem pages
mm: memcontrol: use the node-native slab memory counters
mm: vmstat: move slab statistics from zone to node counters
mm/zswap.c: delete an error message for a failed memory allocation in zswap_dstmem_prepare()
mm/zswap.c: improve a size determination in zswap_frontswap_init()
mm/zswap.c: delete an error message for a failed memory allocation in zswap_pool_create()
mm/swapfile.c: sort swap entries before free
mm/oom_kill: count global and memory cgroup oom kills
mm: per-cgroup memory reclaim stats
mm: kmemleak: treat vm_struct as alternative reference to vmalloc'ed objects
mm: kmemleak: factor object reference updating out of scan_block()
mm: kmemleak: slightly reduce the size of some structures on 64-bit architectures
mm, mempolicy: don't check cpuset seqlock where it doesn't matter
mm, cpuset: always use seqlock when changing task's nodemask
mm, mempolicy: simplify rebinding mempolicies when updating cpusets
...
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/magic.h | 1 | ||||
| -rw-r--r-- | include/uapi/linux/mempolicy.h | 8 |
2 files changed, 1 insertions, 8 deletions
diff --git a/include/uapi/linux/magic.h b/include/uapi/linux/magic.h index a0908f1d2760..e439565df838 100644 --- a/include/uapi/linux/magic.h +++ b/include/uapi/linux/magic.h | |||
| @@ -42,6 +42,7 @@ | |||
| 42 | #define MSDOS_SUPER_MAGIC 0x4d44 /* MD */ | 42 | #define MSDOS_SUPER_MAGIC 0x4d44 /* MD */ |
| 43 | #define NCP_SUPER_MAGIC 0x564c /* Guess, what 0x564c is :-) */ | 43 | #define NCP_SUPER_MAGIC 0x564c /* Guess, what 0x564c is :-) */ |
| 44 | #define NFS_SUPER_MAGIC 0x6969 | 44 | #define NFS_SUPER_MAGIC 0x6969 |
| 45 | #define OCFS2_SUPER_MAGIC 0x7461636f | ||
| 45 | #define OPENPROM_SUPER_MAGIC 0x9fa1 | 46 | #define OPENPROM_SUPER_MAGIC 0x9fa1 |
| 46 | #define QNX4_SUPER_MAGIC 0x002f /* qnx4 fs detection */ | 47 | #define QNX4_SUPER_MAGIC 0x002f /* qnx4 fs detection */ |
| 47 | #define QNX6_SUPER_MAGIC 0x68191122 /* qnx6 fs detection */ | 48 | #define QNX6_SUPER_MAGIC 0x68191122 /* qnx6 fs detection */ |
diff --git a/include/uapi/linux/mempolicy.h b/include/uapi/linux/mempolicy.h index 9cd8b21dddbe..2a4d89508fec 100644 --- a/include/uapi/linux/mempolicy.h +++ b/include/uapi/linux/mempolicy.h | |||
| @@ -24,13 +24,6 @@ enum { | |||
| 24 | MPOL_MAX, /* always last member of enum */ | 24 | MPOL_MAX, /* always last member of enum */ |
| 25 | }; | 25 | }; |
| 26 | 26 | ||
| 27 | enum mpol_rebind_step { | ||
| 28 | MPOL_REBIND_ONCE, /* do rebind work at once(not by two step) */ | ||
| 29 | MPOL_REBIND_STEP1, /* first step(set all the newly nodes) */ | ||
| 30 | MPOL_REBIND_STEP2, /* second step(clean all the disallowed nodes)*/ | ||
| 31 | MPOL_REBIND_NSTEP, | ||
| 32 | }; | ||
| 33 | |||
| 34 | /* Flags for set_mempolicy */ | 27 | /* Flags for set_mempolicy */ |
| 35 | #define MPOL_F_STATIC_NODES (1 << 15) | 28 | #define MPOL_F_STATIC_NODES (1 << 15) |
| 36 | #define MPOL_F_RELATIVE_NODES (1 << 14) | 29 | #define MPOL_F_RELATIVE_NODES (1 << 14) |
| @@ -65,7 +58,6 @@ enum mpol_rebind_step { | |||
| 65 | */ | 58 | */ |
| 66 | #define MPOL_F_SHARED (1 << 0) /* identify shared policies */ | 59 | #define MPOL_F_SHARED (1 << 0) /* identify shared policies */ |
| 67 | #define MPOL_F_LOCAL (1 << 1) /* preferred local allocation */ | 60 | #define MPOL_F_LOCAL (1 << 1) /* preferred local allocation */ |
| 68 | #define MPOL_F_REBINDING (1 << 2) /* identify policies in rebinding */ | ||
| 69 | #define MPOL_F_MOF (1 << 3) /* this policy wants migrate on fault */ | 61 | #define MPOL_F_MOF (1 << 3) /* this policy wants migrate on fault */ |
| 70 | #define MPOL_F_MORON (1 << 4) /* Migrate On protnone Reference On Node */ | 62 | #define MPOL_F_MORON (1 << 4) /* Migrate On protnone Reference On Node */ |
| 71 | 63 | ||
