rcu: fix rcutorture behavior during reboot
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 16 Dec 2008 00:13:07 +0000 (16:13 -0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 16 Dec 2008 23:04:40 +0000 (00:04 +0100)
Impact: fix very rare reboot hang

Because rcutorture ignored all signals, it does not terminate in
response to the signals sent at shutdown time.  This can cause strange
failures due to its continuing to make use of kernel function too late
in the shutdown sequence.  This patch therefore adds a shutdown notifier
to rcutorture, causing it to shut down in response to a reboot or an
orderly shutdown.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found