diff options
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index b55e988988b5..c0151ffd3541 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -384,7 +384,7 @@ struct user_namespace; | |||
384 | * 1-3 now and depends on arch. We use "5" as safe margin, here. | 384 | * 1-3 now and depends on arch. We use "5" as safe margin, here. |
385 | */ | 385 | */ |
386 | #define MAPCOUNT_ELF_CORE_MARGIN (5) | 386 | #define MAPCOUNT_ELF_CORE_MARGIN (5) |
387 | #define DEFAULT_MAX_MAP_COUNT (USHORT_MAX - MAPCOUNT_ELF_CORE_MARGIN) | 387 | #define DEFAULT_MAX_MAP_COUNT (USHRT_MAX - MAPCOUNT_ELF_CORE_MARGIN) |
388 | 388 | ||
389 | extern int sysctl_max_map_count; | 389 | extern int sysctl_max_map_count; |
390 | 390 | ||
@@ -1421,6 +1421,7 @@ struct task_struct { | |||
1421 | #endif | 1421 | #endif |
1422 | #ifdef CONFIG_CPUSETS | 1422 | #ifdef CONFIG_CPUSETS |
1423 | nodemask_t mems_allowed; /* Protected by alloc_lock */ | 1423 | nodemask_t mems_allowed; /* Protected by alloc_lock */ |
1424 | int mems_allowed_change_disable; | ||
1424 | int cpuset_mem_spread_rotor; | 1425 | int cpuset_mem_spread_rotor; |
1425 | #endif | 1426 | #endif |
1426 | #ifdef CONFIG_CGROUPS | 1427 | #ifdef CONFIG_CGROUPS |