diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-04-02 16:57:31 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-02 19:04:54 -0700 |
commit | d969fbe69e07fcceb0558b35d4c75eb046041c5e (patch) | |
tree | e93bab346a32b061522a946fe3a012155c59c27c /security/device_cgroup.c | |
parent | 0670e08bdfc67272f8c3087030417465629b8073 (diff) | |
download | linux-d969fbe69e07fcceb0558b35d4c75eb046041c5e.tar.gz linux-d969fbe69e07fcceb0558b35d4c75eb046041c5e.tar.bz2 linux-d969fbe69e07fcceb0558b35d4c75eb046041c5e.zip |
debug cgroup: remove unneeded cgroup_lock
Since we are in cgroup write handler, so the cgrp is valid, so we don't
have to hold cgroup_mutex when calling cgroup_task_count(). One similar
example is in cgroup_tasks_open().
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Paul Menage <menage@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'security/device_cgroup.c')
0 files changed, 0 insertions, 0 deletions