diff options
| author | Peter Zijlstra <[email protected]> | 2014-09-24 10:18:53 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2014-10-28 10:56:30 +0100 |
| commit | 3c9b2c3d64a49f264422d7743599cf7f6535972d (patch) | |
| tree | 72e5230f01883c626c4d9415b7c53f9cbc9f6365 /tools/perf/scripts/python | |
| parent | 7d4d26966e0b6443c78123a8a8b602e8eaf67694 (diff) | |
sched, modules: Fix nested sleep in add_unformed_module()
This is a genuine bug in add_unformed_module(), we cannot use blocking
primitives inside a wait loop.
So rewrite the wait_event_interruptible() usage to use the fresh
wait_woken() stuff.
Reported-by: Fengguang Wu <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: Rusty Russell <[email protected]>
Cc: [email protected]
Cc: Linus Torvalds <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[ So this is probably complex to backport and the race wasn't reported AFAIK,
so not marked for -stable. ]
Signed-off-by: Ingo Molnar <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions