diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-03-06 13:31:36 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-03-06 13:31:36 -0500 |
commit | 8dcd175bc3d50b78413c56d5b17d4bddd77412ef (patch) | |
tree | 2c2fb25759b43f2e73830f07ef3b444d76825280 /include/linux/sched.h | |
parent | afe6fe7036c6efdcb46cabc64bec9b6e4a005210 (diff) | |
parent | fff04900ea79915939ef6a3aad78fca6511a3034 (diff) |
Merge branch 'akpm' (patches from Andrew)
Merge misc updates from Andrew Morton:
- a few misc things
- ocfs2 updates
- most of MM
* emailed patches from Andrew Morton <akpm@linux-foundation.org>: (159 commits)
tools/testing/selftests/proc/proc-self-syscall.c: remove duplicate include
proc: more robust bulk read test
proc: test /proc/*/maps, smaps, smaps_rollup, statm
proc: use seq_puts() everywhere
proc: read kernel cpu stat pointer once
proc: remove unused argument in proc_pid_lookup()
fs/proc/thread_self.c: code cleanup for proc_setup_thread_self()
fs/proc/self.c: code cleanup for proc_setup_self()
proc: return exit code 4 for skipped tests
mm,mremap: bail out earlier in mremap_to under map pressure
mm/sparse: fix a bad comparison
mm/memory.c: do_fault: avoid usage of stale vm_area_struct
writeback: fix inode cgroup switching comment
mm/huge_memory.c: fix "orig_pud" set but not used
mm/hotplug: fix an imbalance with DEBUG_PAGEALLOC
mm/memcontrol.c: fix bad line in comment
mm/cma.c: cma_declare_contiguous: correct err handling
mm/page_ext.c: fix an imbalance with kmemleak
mm/compaction: pass pgdat to too_many_isolated() instead of zone
mm: remove zone_lru_lock() function, access ->lru_lock directly
...
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 903ef29b62c3..f073bd59df32 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -48,6 +48,7 @@ struct pid_namespace; | |||
48 | struct pipe_inode_info; | 48 | struct pipe_inode_info; |
49 | struct rcu_node; | 49 | struct rcu_node; |
50 | struct reclaim_state; | 50 | struct reclaim_state; |
51 | struct capture_control; | ||
51 | struct robust_list_head; | 52 | struct robust_list_head; |
52 | struct sched_attr; | 53 | struct sched_attr; |
53 | struct sched_param; | 54 | struct sched_param; |
@@ -950,6 +951,9 @@ struct task_struct { | |||
950 | 951 | ||
951 | struct io_context *io_context; | 952 | struct io_context *io_context; |
952 | 953 | ||
954 | #ifdef CONFIG_COMPACTION | ||
955 | struct capture_control *capture_control; | ||
956 | #endif | ||
953 | /* Ptrace state: */ | 957 | /* Ptrace state: */ |
954 | unsigned long ptrace_message; | 958 | unsigned long ptrace_message; |
955 | kernel_siginfo_t *last_siginfo; | 959 | kernel_siginfo_t *last_siginfo; |
@@ -1395,6 +1399,7 @@ extern struct pid *cad_pid; | |||
1395 | #define PF_UMH 0x02000000 /* I'm an Usermodehelper process */ | 1399 | #define PF_UMH 0x02000000 /* I'm an Usermodehelper process */ |
1396 | #define PF_NO_SETAFFINITY 0x04000000 /* Userland is not allowed to meddle with cpus_allowed */ | 1400 | #define PF_NO_SETAFFINITY 0x04000000 /* Userland is not allowed to meddle with cpus_allowed */ |
1397 | #define PF_MCE_EARLY 0x08000000 /* Early kill for mce process policy */ | 1401 | #define PF_MCE_EARLY 0x08000000 /* Early kill for mce process policy */ |
1402 | #define PF_MEMALLOC_NOCMA 0x10000000 /* All allocation request will have _GFP_MOVABLE cleared */ | ||
1398 | #define PF_FREEZER_SKIP 0x40000000 /* Freezer should not count it as freezable */ | 1403 | #define PF_FREEZER_SKIP 0x40000000 /* Freezer should not count it as freezable */ |
1399 | #define PF_SUSPEND_TASK 0x80000000 /* This thread called freeze_processes() and should not be frozen */ | 1404 | #define PF_SUSPEND_TASK 0x80000000 /* This thread called freeze_processes() and should not be frozen */ |
1400 | 1405 | ||