diff options
author | 2012-11-28 13:50:44 -0800 | |
---|---|---|
committer | 2012-11-28 13:51:56 -0800 | |
commit | 205a872bd6f9a9a09ef035ef1e90185a8245cc58 (patch) | |
tree | 9b39a5823dddf6319a021d4ab36c7cd35f612908 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cgroup: move list add after list head initilization (diff) | |
download | linux-dev-205a872bd6f9a9a09ef035ef1e90185a8245cc58.tar.xz linux-dev-205a872bd6f9a9a09ef035ef1e90185a8245cc58.zip |
cgroup: fix lockdep warning for event_control
The cgroup_event_wake() function is called with the wait queue head
locked and it takes cgrp->event_list_lock. However, in cgroup_rmdir()
remove_wait_queue() was being called after taking
cgrp->event_list_lock. Correct the lock ordering by using a temporary
list to obtain the event list to remove from the wait queue.
Signed-off-by: Greg Thelen <gthelen@google.com>
Signed-off-by: Aaron Durbin <adurbin@google.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions