diff options
| author | Tejun Heo <tj@kernel.org> | 2012-04-01 15:30:01 -0400 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2012-04-01 15:55:00 -0400 |
| commit | 959d851caa48829eb85cb85aa949fd6b4c5d5bc6 (patch) | |
| tree | 3ba9c94ec346275fb44c4f0d1cd2537cdff8d811 /include/linux/init_task.h | |
| parent | a5567932fc926739e29e98487128080f40c61710 (diff) | |
| parent | 48ddbe194623ae089cc0576e60363f2d2e85662a (diff) | |
Merge branch 'for-3.5' of ../cgroup into block/for-3.5/core-merged
cgroup/for-3.5 contains the following changes which blk-cgroup needs
to proceed with the on-going cleanup.
* Dynamic addition and removal of cftypes to make config/stat file
handling modular for policies.
* cgroup removal update to not wait for css references to drain to fix
blkcg removal hang caused by cfq caching cfqgs.
Pull in cgroup/for-3.5 into block/for-3.5/core. This causes the
following conflicts in block/blk-cgroup.c.
* 761b3ef50e "cgroup: remove cgroup_subsys argument from callbacks"
conflicts with blkiocg_pre_destroy() addition and blkiocg_attach()
removal. Resolved by removing @subsys from all subsys methods.
* 676f7c8f84 "cgroup: relocate cftype and cgroup_subsys definitions in
controllers" conflicts with ->pre_destroy() and ->attach() updates
and removal of modular config. Resolved by dropping forward
declarations of the methods and applying updates to the relocated
blkio_subsys.
* 4baf6e3325 "cgroup: convert all non-memcg controllers to the new
cftype interface" builds upon the previous item. Resolved by adding
->base_cftypes to the relocated blkio_subsys.
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/init_task.h')
| -rw-r--r-- | include/linux/init_task.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/linux/init_task.h b/include/linux/init_task.h index 9c66b1ada9d..e4baff5f7ff 100644 --- a/include/linux/init_task.h +++ b/include/linux/init_task.h | |||
| @@ -29,6 +29,13 @@ extern struct fs_struct init_fs; | |||
| 29 | #define INIT_GROUP_RWSEM(sig) | 29 | #define INIT_GROUP_RWSEM(sig) |
| 30 | #endif | 30 | #endif |
| 31 | 31 | ||
| 32 | #ifdef CONFIG_CPUSETS | ||
| 33 | #define INIT_CPUSET_SEQ \ | ||
| 34 | .mems_allowed_seq = SEQCNT_ZERO, | ||
| 35 | #else | ||
| 36 | #define INIT_CPUSET_SEQ | ||
| 37 | #endif | ||
| 38 | |||
| 32 | #define INIT_SIGNALS(sig) { \ | 39 | #define INIT_SIGNALS(sig) { \ |
| 33 | .nr_threads = 1, \ | 40 | .nr_threads = 1, \ |
| 34 | .wait_chldexit = __WAIT_QUEUE_HEAD_INITIALIZER(sig.wait_chldexit),\ | 41 | .wait_chldexit = __WAIT_QUEUE_HEAD_INITIALIZER(sig.wait_chldexit),\ |
| @@ -149,7 +156,7 @@ extern struct cred init_cred; | |||
| 149 | }, \ | 156 | }, \ |
| 150 | .rt = { \ | 157 | .rt = { \ |
| 151 | .run_list = LIST_HEAD_INIT(tsk.rt.run_list), \ | 158 | .run_list = LIST_HEAD_INIT(tsk.rt.run_list), \ |
| 152 | .time_slice = HZ, \ | 159 | .time_slice = RR_TIMESLICE, \ |
| 153 | .nr_cpus_allowed = NR_CPUS, \ | 160 | .nr_cpus_allowed = NR_CPUS, \ |
| 154 | }, \ | 161 | }, \ |
| 155 | .tasks = LIST_HEAD_INIT(tsk.tasks), \ | 162 | .tasks = LIST_HEAD_INIT(tsk.tasks), \ |
| @@ -192,6 +199,7 @@ extern struct cred init_cred; | |||
| 192 | INIT_FTRACE_GRAPH \ | 199 | INIT_FTRACE_GRAPH \ |
| 193 | INIT_TRACE_RECURSION \ | 200 | INIT_TRACE_RECURSION \ |
| 194 | INIT_TASK_RCU_PREEMPT(tsk) \ | 201 | INIT_TASK_RCU_PREEMPT(tsk) \ |
| 202 | INIT_CPUSET_SEQ \ | ||
| 195 | } | 203 | } |
| 196 | 204 | ||
| 197 | 205 | ||
