]> asedeno.scripts.mit.edu Git - linux.git/commit
rcutorture: Add interrupt-disable capability to stall-warning tests
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 18 Aug 2017 23:11:37 +0000 (16:11 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 9 Oct 2017 21:26:08 +0000 (14:26 -0700)
commit2b1516e55f8416acfb48d5f43d41222d180fb5a3
tree68d5e48d865b53a5551f721dbac11d55913d6879
parent8a5776a5f49812d29fe4b2d0a2d71675c3facf3f
rcutorture: Add interrupt-disable capability to stall-warning tests

When rcutorture sees the rcutorture.stall_cpu kernel boot parameter,
it loops with preemption disabled, which does in fact normally
generate an RCU CPU stall warning message.  However, there are test
scenarios that need the stalling CPU to have interrupts disabled.
This commit therefore adds an rcutorture.stall_cpu_irqsoff kernel
boot parameter that causes the stalling CPU to disable interrupts.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Documentation/admin-guide/kernel-parameters.txt
kernel/rcu/rcutorture.c