sched: kill paranoia check in synchronize_sched_expedited()
commit94458d5ecb3da844823cc191e73e5c5ead98a464
authorTejun Heo <tj@kernel.org>
Thu, 6 May 2010 16:49:21 +0000 (6 18:49 +0200)
committerTejun Heo <tj@kernel.org>
Thu, 6 May 2010 16:49:21 +0000 (6 18:49 +0200)
tree866f0ed3b4e522d98664cb4b2603cd0d34cfde0d
parent969c79215a35b06e5e3efe69b9412f858df7856c
sched: 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 <tj@kernel.org>
Acked-by: Peter 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>
kernel/sched.c