1. 18 Jun, 2008 2 commits
    • Paul E. McKenney's avatar
      rcu: make rcutorture more vicious: add stutter feature · d120f65f
      Paul E. McKenney authored
      This patch takes a step towards making rcutorture more brutal by allowing
      the test to be automatically periodically paused, with the default being
      to run the test for five seconds then pause for five seconds and repeat.
      This behavior can be controlled using a new "stutter" module parameter, so
      that "stutter=0" gives the old default behavior of running continuously.
      
      Starting and stopping rcutorture more heavily stresses RCU's interaction
      with the scheduler, as well as exercising more paths through the
      grace-period detection code.
      
      Note that the default to "shuffle_interval" has also been adjusted from
      5 seconds to 3 seconds to provide varying overlap with the "stutter"
      interval.
      
      I am still unable to provoke the failures that Alexey has been seeing,
      even with this patch, but will be doing a few additional things to beef
      up rcutorture.
      Suggested-by: default avatarIngo Molnar <mingo@elte.hu>
      Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      d120f65f
    • Ingo Molnar's avatar
      rcutorture: WARN_ON_ONCE(1) when detecting an error · 5af970a4
      Ingo Molnar authored
      this makes it easier for automated tests to pick up such failures.
      5af970a4
  2. 16 Jun, 2008 3 commits
  3. 15 Jun, 2008 14 commits
  4. 14 Jun, 2008 1 commit
  5. 13 Jun, 2008 20 commits