diff options
author | Oleg Nesterov <[email protected]> | 2012-08-26 21:12:09 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2012-09-13 16:47:33 +0200 |
commit | ac3d0da8f3290b3d394cdb7f50604424a7cd6092 (patch) | |
tree | c1a126ac8ab3d87f22baaa51fd786f3c56c22327 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
parent | 15674868d6c5985466835c56dd89d39235f16302 (diff) |
task_work: Make task_work_add() lockless
Change task_work's to use llist-like code to avoid pi_lock
in task_work_add(), this makes it useable under rq->lock.
task_work_cancel() and task_work_run() still use pi_lock
to synchronize with each other.
(This is in preparation for a deadlock fix.)
Suggested-by: Peter Zijlstra <[email protected]>
Signed-off-by: Oleg Nesterov <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions