aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index c15936fe998b..83bd2e2982fc 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -99,6 +99,7 @@ struct robust_list_head;
99struct bio_list; 99struct bio_list;
100struct fs_struct; 100struct fs_struct;
101struct perf_event_context; 101struct perf_event_context;
102struct blk_plug;
102 103
103/* 104/*
104 * List of flags we want to share for kernel threads, 105 * List of flags we want to share for kernel threads,
@@ -516,7 +517,7 @@ struct thread_group_cputimer {
516struct autogroup; 517struct autogroup;
517 518
518/* 519/*
519 * NOTE! "signal_struct" does not have it's own 520 * NOTE! "signal_struct" does not have its own
520 * locking, because a shared signal_struct always 521 * locking, because a shared signal_struct always
521 * implies a shared sighand_struct, so locking 522 * implies a shared sighand_struct, so locking
522 * sighand_struct is always a proper superset of 523 * sighand_struct is always a proper superset of
@@ -1428,6 +1429,11 @@ struct task_struct {
1428/* stacked block device info */ 1429/* stacked block device info */
1429 struct bio_list *bio_list; 1430 struct bio_list *bio_list;
1430 1431
1432#ifdef CONFIG_BLOCK
1433/* stack plugging */
1434 struct blk_plug *plug;
1435#endif
1436
1431/* VM state */ 1437/* VM state */
1432 struct reclaim_state *reclaim_state; 1438 struct reclaim_state *reclaim_state;
1433 1439
@@ -1471,6 +1477,7 @@ struct task_struct {
1471#ifdef CONFIG_NUMA 1477#ifdef CONFIG_NUMA
1472 struct mempolicy *mempolicy; /* Protected by alloc_lock */ 1478 struct mempolicy *mempolicy; /* Protected by alloc_lock */
1473 short il_next; 1479 short il_next;
1480 short pref_node_fork;
1474#endif 1481#endif
1475 atomic_t fs_excl; /* holding fs exclusive resources */ 1482 atomic_t fs_excl; /* holding fs exclusive resources */
1476 struct rcu_head rcu; 1483 struct rcu_head rcu;
@@ -1523,8 +1530,8 @@ struct task_struct {
1523 struct memcg_batch_info { 1530 struct memcg_batch_info {
1524 int do_batch; /* incremented when batch uncharge started */ 1531 int do_batch; /* incremented when batch uncharge started */
1525 struct mem_cgroup *memcg; /* target memcg of uncharge */ 1532 struct mem_cgroup *memcg; /* target memcg of uncharge */
1526 unsigned long bytes; /* uncharged usage */ 1533 unsigned long nr_pages; /* uncharged usage */
1527 unsigned long memsw_bytes; /* uncharged mem+swap usage */ 1534 unsigned long memsw_nr_pages; /* uncharged mem+swap usage */
1528 } memcg_batch; 1535 } memcg_batch;
1529#endif 1536#endif
1530}; 1537};