Files
linux/kernel
Peter Zijlstra be45bf5395 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: 9cf57731b6 ("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]>
2018-07-15 23:51:19 +02:00
..
2018-07-01 01:21:32 +02:00
2018-06-15 18:10:01 -03:00
2018-06-12 16:19:22 -07:00
2018-06-28 14:00:40 +02:00
2018-06-20 11:35:56 +02:00
2018-06-20 11:35:56 +02:00
…
…
…
…
…
2018-04-27 14:34:51 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
2018-07-03 09:20:44 +02:00
…
2018-06-12 16:19:22 -07:00
…
2018-06-07 16:56:28 -04:00
…
2018-06-12 16:19:22 -07:00