Re: [PATCH] Make rcutorture more vicious: reinstate boot-time testing

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Thursday, June 19, 2008 - 2:29 am

* Paul E. McKenney <paulmck@linux.vnet.ibm.com> wrote:


applied to tip/core/rcu - thanks Paul!

FYI, yesterday's rcutorture-stutter feature survived a few hundred 
random bootup tests in -tip testing already.

a possible area for enhancement would be the following code:

static void
rcu_stutter_wait(void)
{
        while (stutter_pause_test || !rcutorture_runnable)
                schedule_timeout_interruptible(1);
}

will cause HZ number of IRQs on nohz systems, even if rcutorture is 
disabled. While it's fine to poll if rcutorture_runnable==1, the sleep 
should be at least 1 second when !rcutorture_runnable.

[ Or it might even make sense to completely stop the threads from a 
  sysctl handler - to make it event-driven and to cause no extra IRQs at 
  all when rcutorture is disabled via /proc. ]

	Ingo
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Make rcutorture more vicious: add stutter feature, Paul E. McKenney, (Wed Jun 18, 5:21 am)
[PATCH] Make rcutorture more vicious: reinstate boot-time ..., Paul E. McKenney, (Wed Jun 18, 9:26 am)
Re: [PATCH] Make rcutorture more vicious: reinstate boot-t ..., Ingo Molnar, (Thu Jun 19, 2:29 am)
Re: [PATCH] Make rcutorture more vicious: reinstate boot-t ..., Paul E. McKenney, (Thu Jun 19, 10:47 pm)
Re: [PATCH -tip-rcu] Make rcutorture more vicious: make qu ..., Arjan van de Ven, (Mon Jun 23, 11:07 am)
[PATCH -tip-rcu] Make rcutorture more vicious: invoke RCU ..., Paul E. McKenney, (Wed Jun 25, 12:24 pm)
Re: [PATCH -tip-rcu] Make rcutorture more vicious: invoke ..., Paul E. McKenney, (Thu Jun 26, 8:48 am)