aboutsummaryrefslogtreecommitdiff
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorLi Zefan <[email protected]>2011-03-23 16:42:48 -0700
committerLinus Torvalds <[email protected]>2011-03-23 19:46:35 -0700
commit523fb486bfd94e3a3b16a42bcb21b1959cf14df8 (patch)
tree34c1b15a9bc55ef7a3bafb87cce3d3d184d78906 /fs/proc/array.c
parentee24d3797780eee6ffe581a7b78d27896f9b494a (diff)
cpuset: hold callback_mutex in cpuset_post_clone()
Chaning cpuset->mems/cpuset->cpus should be protected under callback_mutex. cpuset_clone() doesn't follow this rule. It's ok because it's called when creating and initializing a cgroup, but we'd better hold the lock to avoid subtil break in the future. Signed-off-by: Li Zefan <[email protected]> Acked-by: Paul Menage <[email protected]> Acked-by: David Rientjes <[email protected]> Cc: Miao Xie <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions