Skip to content
  • Tejun Heo's avatar
    sched: kill paranoia check in synchronize_sched_expedited() · 94458d5e
    Tejun Heo authored
    
    
    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: default avatarTejun Heo <tj@kernel.org>
    Acked-by: default avatarPeter Zijlstra <peterz@infradead.org>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Dipankar Sarma <dipankar@in.ibm.com>
    Cc: Josh Triplett <josh@freedesktop.org>
    Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
    Cc: Oleg Nesterov <oleg@redhat.com>
    Cc: Dimitri Sivanich <sivanich@sgi.com>
    94458d5e