linux/Documentation/RCU
Paul E. McKenney 31a72bce0b rcu: make rcutorture more vicious: reinstate boot-time testing
This patch re-institutes the ability to build rcutorture directly into
the Linux kernel.  The reason that this capability was removed was that
this could result in your kernel being pretty much useless, as rcutorture
would be running starting from early boot.  This problem has been avoided
by (1) making rcutorture run only three seconds of every six by default,
(2) adding a CONFIG_RCU_TORTURE_TEST_RUNNABLE that permits rcutorture
to be quiesced at boot time, and (3) adding a sysctl in /proc named
/proc/sys/kernel/rcutorture_runnable that permits rcutorture to be
quiesced and unquiesced when built into the kernel.

Please note that this /proc file is -not- available when rcutorture
is built as a module.  Please also note that to get the earlier
take-no-prisoners behavior, you must use the boot command line to set
rcutorture's "stutter" parameter to zero.

The rcutorture quiescing mechanism is currently quite crude: loops
in each rcutorture process that poll a global variable once per tick.
Suggestions for improvement are welcome.  The default action will
be to reduce the polling rate to a few times per second.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Suggested-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-06-19 11:22:15 +02:00
..
00-INDEX Add Documentation/RCU/00-Index 2007-10-17 08:43:07 -07:00
arrayRCU.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
checklist.txt sched: 1Q08 RCU doc update, add call_rcu_sched() 2008-05-19 10:01:37 +02:00
listRCU.txt [PATCH] RCU documentation fixes (January 2006 update) 2006-02-01 08:53:25 -08:00
NMI-RCU.txt sched: 1Q08 RCU doc update, add call_rcu_sched() 2008-05-19 10:01:37 +02:00
rcu.txt Preempt-RCU: update RCU Documentation. 2008-01-25 21:08:25 +01:00
rcuref.txt [PATCH] RCU documentation fixes (January 2006 update) 2006-02-01 08:53:25 -08:00
RTFP.txt sched: 1Q08 RCU doc update, add call_rcu_sched() 2008-05-19 10:01:37 +02:00
torture.txt rcu: make rcutorture more vicious: reinstate boot-time testing 2008-06-19 11:22:15 +02:00
UP.txt [PATCH] Yet another RCU documentation update 2005-09-10 10:06:24 -07:00
whatisRCU.txt sched: 1Q08 RCU doc update, add call_rcu_sched() 2008-05-19 10:01:37 +02:00