Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
timers/core: Correct callback order during CPU hot plug
On the tear-down path, the dead CPU callback for the timers was misplaced within the 'cpuhp_state' enumeration. There is a hidden dependency between the timers and block multiqueue. The timers callback must happen before the block multiqueue callback otherwise a RCU stall occurs. Move the timers callback to the proper place in the state machine. Reported-and-tested-by: Jon Hunter <[email protected]> Reported-by: kbuild test robot <[email protected]> Fixes: 24f73b9 ("timers/core: Convert to hotplug state machine") Signed-off-by: Richard Cochran <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Sebastian Andrzej Siewior <[email protected]> Cc: Rasmus Villemoes <[email protected]> Cc: John Stultz <[email protected]> Cc: [email protected] Cc: Oleg Nesterov <[email protected]> Cc: Linus Torvalds <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
- Loading branch information