Re: [RFC PATCH -rt 2/2] RCU priority boosting additions to rcutorture

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Paul E. McKenney
Date: Wednesday, January 31, 2007 - 10:46 pm

On Thu, Feb 01, 2007 at 01:42:42PM +1100, Nigel Cunningham wrote:

Even though it explicitly sleeps each time through the loop?  Hmmm...


If try_to_freeze() succeeds, do I need to clean up signal state?
It didn't look like it to me, but thought I should ask the expert!

My guess is that I can simply do:

	try_to_freeze();
	schedule_timeout_interruptible(HZ);

The schedule_timeout_interruptible() might return early, but if I
don't care about getting a shorter than expected sleep, I am OK,
right?  Besides, one would have to get a couple of very closely
spaced freeze_processes() calls for this to happen.  ;-)

						Thanx, Paul
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC PATCH -rt 2/2] RCU priority boosting additions to ..., Paul E. McKenney, (Wed Jan 31, 10:46 pm)