aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <[email protected]>2021-09-28 17:00:05 +0200
committerPeter Zijlstra <[email protected]>2021-10-01 13:57:52 +0200
commit8fe46535e10dbfebad68ad9f2f8260e49f5852c9 (patch)
tree61f75ddf6d378281b629f1390583cc67a54fba7d /tools/perf/scripts/python
parentef1f4804b27a54da34de6984d16f1fe8f2cc7011 (diff)
rtmutex: Check explicit for TASK_RTLOCK_WAIT.
rt_mutex_wake_q_add() needs to need to distiguish between sleeping locks (TASK_RTLOCK_WAIT) and normal locks which use TASK_NORMAL to use the proper wake mechanism. Instead of checking for != TASK_NORMAL make it more robust and check explicit for TASK_RTLOCK_WAIT which is the reason why a different wake mechanism is used. No functional change. Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions