scheduler: kill paranoia check in synchronize_sched_expedited()

The paranoid check which verifies that the cpu_stop callback is
actually called on all online cpus is completely superflous.  It's
guaranteed by cpu_stop facility and if it didn't work as advertised
other things would go horribly wrong and trying to recover using
synchronize_sched() wouldn't be very meaningful.

Kill the paranoid check.  Removal of this feature is done as a
separate step so that it can serve as a bisection point if something
actually goes wrong.

Signed-off-by: Tejun Heo <>
Cc: Ingo Molnar <>
Cc: Peter Zijlstra <>
Cc: Dipankar Sarma <>
Cc: Josh Triplett <>
Cc: Paul E. McKenney <>
Cc: Oleg Nesterov <>
Cc: Dimitri Sivanich <>
1 file changed