diff options
| author | Peter Zijlstra <[email protected]> | 2018-07-13 12:42:08 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2018-07-15 23:51:19 +0200 |
| commit | be45bf5395e0886a93fc816bbe41a008ec2e42e2 (patch) | |
| tree | ad459f7d60364e75743ef18066dffc6a31088f08 /tools/perf/scripts/python | |
| parent | fdf2ceb7f58c28639a36f8895006828582a1f5b2 (diff) | |
watchdog/softlockup: Fix cpu_stop_queue_work() double-queue bug
When scheduling is delayed for longer than the softlockup interrupt
period it is possible to double-queue the cpu_stop_work, causing list
corruption.
Cure this by adding a completion to track the cpu_stop_work's
progress.
Reported-by: kernel test robot <[email protected]>
Tested-by: Rong Chen <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Fixes: 9cf57731b63e ("watchdog/softlockup: Replace "watchdog/%u" threads with cpu_stop_work")
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