diff options
| author | 2009-01-07 18:08:37 -0800 | |
|---|---|---|
| committer | 2009-01-08 08:31:10 -0800 | |
| commit | 2cb378c862777d050c20db903b119a029845fdcb (patch) | |
| tree | 5512511acf9d66338039f9698e456f1e3254970b /include | |
| parent | cgroups: add a per-subsystem hierarchy_mutex (diff) | |
| download | linux-dev-2cb378c862777d050c20db903b119a029845fdcb.tar.xz linux-dev-2cb378c862777d050c20db903b119a029845fdcb.zip | |
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 'include')
0 files changed, 0 insertions, 0 deletions
