aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2014-10-29 17:04:56 +0100
committerIngo Molnar <[email protected]>2014-11-04 07:17:48 +0100
commitff960a731788a7408b6f66ec4fd772ff18833211 (patch)
tree081795cb185495198e5966ea171e7701241775f1 /tools/perf/scripts/python
parenteedf7e47daa0b8530246a8c9107c007fbf8231bf (diff)
netdev, sched/wait: Fix sleeping inside wait event
rtnl_lock_unregistering*() take rtnl_lock() -- a mutex -- inside a wait loop. The wait loop relies on current->state to function, but so does mutex_lock(), nesting them makes for the inner to destroy the outer state. Fix this using the new wait_woken() bits. Reported-by: Fengguang Wu <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Acked-by: David S. Miller <[email protected]> Cc: Oleg Nesterov <[email protected]> Cc: Cong Wang <[email protected]> Cc: David Gibson <[email protected]> Cc: Eric Biederman <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: Jamal Hadi Salim <[email protected]> Cc: Jerry Chu <[email protected]> Cc: Jiri Pirko <[email protected]> Cc: John Fastabend <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Nicolas Dichtel <[email protected]> Cc: [email protected] <[email protected]> Cc: stephen hemminger <[email protected]> Cc: Tom Gundersen <[email protected]> Cc: Tom Herbert <[email protected]> Cc: Veaceslav Falico <[email protected]> Cc: Vlad Yasevich <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions