diff options
author | Paul Menage <menage@google.com> | 2009-01-07 18:08:37 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-08 08:31:10 -0800 |
commit | 2cb378c862777d050c20db903b119a029845fdcb (patch) | |
tree | 5512511acf9d66338039f9698e456f1e3254970b /kernel/cgroup.c | |
parent | 999cd8a450f8f93701669a61cac4d3b19eca07e8 (diff) | |
download | op-kernel-dev-2cb378c862777d050c20db903b119a029845fdcb.zip op-kernel-dev-2cb378c862777d050c20db903b119a029845fdcb.tar.gz |
cgroups: use hierarchy_mutex in memory controller
Update the memory controller to use its hierarchy_mutex rather than
calling cgroup_lock() to protected against cgroup_mkdir()/cgroup_rmdir()
from occurring in its hierarchy.
Signed-off-by: Paul Menage <menage@google.com>
Tested-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Li Zefan <lizf@cn.fujitsu.com>
Cc: Balbir Singh <balbir@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/cgroup.c')
0 files changed, 0 insertions, 0 deletions