Re: RFC: Ideal Adaptive Spinning Conditions

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: john cooper
Date: Saturday, April 3, 2010 - 10:51 am

Peter W. Morreale wrote:


IIRC Solaris mutexes are declared either simple spin or adaptive,
an acquisition attempt of the latter only checking the hold
status of the mutex and if held the owner's run status before
making the spin vs. block decision.

I don't believe mixing of the two mutex types within a given path
was permissible as a previously acquired simple spin mutex could
remain held when a subsequent adaptive mutex decided to block.
Although presumably an elevated IPL could have been sufficient to
flag that scenario.

-john
  
-- 
john.cooper@third-harmonic.com
--
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)