aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2014-05-22 03:25:57 +0000
committerThomas Gleixner <[email protected]>2014-06-21 22:05:31 +0200
commit67792e2cabadbadd1a93f6790fa7bcbd47eca7c3 (patch)
treeda0fbc4068e2b6ac73006f58878b036bf607d918 /include/linux/fpga/fpga-mgr.h
parent8930ed80f970a90a795239e7415c9b0e6f964649 (diff)
rtmutex: Avoid pointless requeueing in the deadlock detection chain walk
In case the dead lock detector is enabled we follow the lock chain to the end in rt_mutex_adjust_prio_chain, even if we could stop earlier due to the priority/waiter constellation. But once we are no longer the top priority waiter in a certain step or the task holding the lock has already the same priority then there is no point in dequeing and enqueing along the lock chain as there is no change at all. So stop the queueing at this point. Signed-off-by: Thomas Gleixner <[email protected]> Cc: Peter Zijlstra <[email protected]> Reviewed-by: Steven Rostedt <[email protected]> Cc: Lai Jiangshan <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions