diff options
author | Hugh Dickins <[email protected]> | 2012-03-21 16:34:21 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2012-03-21 17:55:01 -0700 |
commit | ca464d69b19120a826aa2534de2511a6f542edf5 (patch) | |
tree | 092582419a30825b8483640856483ea8ee56cf81 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 42aee6c495e07dba7410b863a360db6bb9ec6d66 (diff) |
memcg: let css_get_next() rely upon rcu_read_lock()
Remove lock and unlock around css_get_next()'s call to idr_get_next().
memcg iterators (only users of css_get_next) already did rcu_read_lock(),
and its comment demands that; but add a WARN_ON_ONCE to make sure of it.
Signed-off-by: Hugh Dickins <[email protected]>
Acked-by: KAMEZAWA Hiroyuki <[email protected]>
Acked-by: Li Zefan <[email protected]>
Cc: Eric Dumazet <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions