rcu: Allow rcutorture to starve grace-period kthread
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 2 Apr 2020 02:57:52 +0000 (19:57 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Thu, 7 May 2020 17:15:28 +0000 (10:15 -0700)
commit55b2dcf58700041d6f0b037a98619222c825f004
treeda9dcfd0c5feda27e39ddedcdb3b8c514ff4936c
parentdf5916845dd6ee34ce40aaad5e7b61058720419c
rcu: Allow rcutorture to starve grace-period kthread

This commit provides an rcutorture.stall_gp_kthread module parameter
to allow rcutorture to starve the grace-period kthread.  This allows
testing the code that detects such starvation.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Documentation/admin-guide/kernel-parameters.txt
kernel/rcu/rcu.h
kernel/rcu/rcutorture.c
kernel/rcu/tree.c