]> asedeno.scripts.mit.edu Git - linux.git/commit
torture: Suppress CPU stall warnings during shutdown ftrace dump
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 4 Oct 2017 18:23:10 +0000 (11:23 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 28 Nov 2017 23:54:26 +0000 (15:54 -0800)
commitdac95906003fec1b4801115830cc14ec61c74960
tree1f506ddfa870a4cae4e0e51714a18209bd5bf235
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323
torture: Suppress CPU stall warnings during shutdown ftrace dump

The torture_shutdown() function directly invokes ftrace_dump(), which
can result in RCU CPU stall warnings when the ftrace buffer is large,
which it usually is.  This commit therefore invoks rcu_ftrace_dump()
in place of ftrace_dump(), suppressing RCU CPU stall warnings during
this time.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/torture.c