Re: RFC: Ideal Adaptive Spinning Conditions

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Darren Hart
Date: Wednesday, March 31, 2010 - 7:25 pm

Peter W. Morreale wrote:

Everybody spins? Really? For RT Tasks I suppose that makes sense as they 
will sort out the priority for themselves and if they preempt the owner 
they will all immediately schedule out and boost the priority of the 
owner.... but then we lose the benefit of spinning since we just put 
everyone to sleep. I'll have to take a look at that and see what I'm 
missing.



I suppose a heuristic approach could still be used so long as continued 
spinning was conditional on the owner continuing to run on a CPU.



Right, and I'm looking to provide some kernel assistance for userspace 
spinlocks here, and am targeting short lived critical sections as well.


Interesting, thanks for the input.

--
Darren



-- 
Darren Hart
IBM Linux Technology Center
Real-Time Linux Team
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
RFC: Ideal Adaptive Spinning Conditions, Darren Hart, (Wed Mar 31, 4:21 pm)
Re: RFC: Ideal Adaptive Spinning Conditions, Roland Dreier, (Wed Mar 31, 4:35 pm)
Re: RFC: Ideal Adaptive Spinning Conditions, Steven Rostedt, (Wed Mar 31, 4:38 pm)
Re: RFC: Ideal Adaptive Spinning Conditions, Peter W. Morreale, (Wed Mar 31, 5:17 pm)
Re: RFC: Ideal Adaptive Spinning Conditions, Darren Hart, (Wed Mar 31, 7:03 pm)
Re: RFC: Ideal Adaptive Spinning Conditions, Darren Hart, (Wed Mar 31, 7:10 pm)
Re: RFC: Ideal Adaptive Spinning Conditions, Darren Hart, (Wed Mar 31, 7:13 pm)
Re: RFC: Ideal Adaptive Spinning Conditions, Darren Hart, (Wed Mar 31, 7:25 pm)
Re: RFC: Ideal Adaptive Spinning Conditions, Steven Rostedt, (Wed Mar 31, 7:25 pm)
Re: RFC: Ideal Adaptive Spinning Conditions, Darren Hart, (Wed Mar 31, 10:15 pm)
Re: RFC: Ideal Adaptive Spinning Conditions, Gregory Haskins, (Thu Apr 1, 5:46 am)
Re: RFC: Ideal Adaptive Spinning Conditions, Chris Mason, (Thu Apr 1, 7:04 am)
Re: RFC: Ideal Adaptive Spinning Conditions, Avi Kivity, (Thu Apr 1, 7:20 am)
Re: RFC: Ideal Adaptive Spinning Conditions, Darren Hart, (Thu Apr 1, 8:54 am)
Re: RFC: Ideal Adaptive Spinning Conditions, Avi Kivity, (Thu Apr 1, 9:10 am)
Re: RFC: Ideal Adaptive Spinning Conditions, Chris Wright, (Thu Apr 1, 10:02 am)
Re: RFC: Ideal Adaptive Spinning Conditions, Darren Hart, (Thu Apr 1, 10:10 am)
Re: RFC: Ideal Adaptive Spinning Conditions, Avi Kivity, (Thu Apr 1, 10:15 am)
Re: RFC: Ideal Adaptive Spinning Conditions, john cooper, (Sat Apr 3, 10:51 am)
Re: RFC: Ideal Adaptive Spinning Conditions, john cooper, (Sat Apr 3, 11:00 am)
Re: RFC: Ideal Adaptive Spinning Conditions, Rik van Riel, (Sat Apr 3, 6:50 pm)
Re: RFC: Ideal Adaptive Spinning Conditions, Peter W. Morreale, (Sun Apr 4, 8:06 am)
Re: RFC: Ideal Adaptive Spinning Conditions, Darren Hart, (Mon Apr 5, 7:06 am)
Re: RFC: Ideal Adaptive Spinning Conditions, Darren Hart, (Mon Apr 5, 7:10 am)