summaryrefslogtreecommitdiffstats
path: root/kernel/Kconfig.preempt
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2012-11-19 17:13:36 +0100
committerTejun Heo <tj@kernel.org>2012-11-19 17:13:36 +0100
commit648bb56d076bde31113f09a7d24d95bc8d4155ac (patch)
tree5e17d543a77f3783e4cfce7f525f4c3255238c07 /kernel/Kconfig.preempt
parentcgroup: trivial cleanup for cgroup_init/load_subsys() (diff)
downloadlinux-648bb56d076bde31113f09a7d24d95bc8d4155ac.tar.xz
linux-648bb56d076bde31113f09a7d24d95bc8d4155ac.zip
cgroup: lock cgroup_mutex in cgroup_init_subsys()
Make cgroup_init_subsys() grab cgroup_mutex while initializing a subsystem so that all helpers and callbacks are called under the context they expect. This isn't strictly necessary as cgroup_init_subsys() doesn't race with anybody but will allow adding lockdep assertions. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'kernel/Kconfig.preempt')
0 files changed, 0 insertions, 0 deletions