aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorLai Jiangshan <[email protected]>2009-01-07 18:08:39 -0800
committerLinus Torvalds <[email protected]>2009-01-08 08:31:11 -0800
commit13337714f3b0307dc7f75ef5d83ecf0db2abbd65 (patch)
treef76dd8961b9287b25e2ea24d2d34fecc52d2c8a0 /tools/perf/scripts/python/syscall-counts.py
parente7c5ec9193d32b9559a3bb8893ceedbda85201ff (diff)
cpuset: rcu_read_lock() to protect task_cs()
task_cs() calls task_subsys_state(). We must use rcu_read_lock() to protect cgroup_subsys_state(). It's correct that top_cpuset is never freed, but cgroup_subsys_state() accesses css_set, this css_set maybe freed when task_cs() called. We use use rcu_read_lock() to protect it. Signed-off-by: Lai Jiangshan <[email protected]> Acked-by: Paul Menage <[email protected]> Cc: KAMEZAWA Hiroyuki <[email protected]> Cc: Pavel Emelyanov <[email protected]> Cc: Balbir Singh <[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.py')
0 files changed, 0 insertions, 0 deletions