Messages in this thread | | | Date | Sat, 03 Apr 2010 14:00:15 -0400 | From | john cooper <> | Subject | Re: RFC: Ideal Adaptive Spinning Conditions |
| |
Darren Hart wrote: > Right, and I'm looking to provide some kernel assistance for userspace > spinlocks here, and am targeting short lived critical sections as well.
What did you have in mind beyond existing mechanisms which address sibling contention?
One scenario which AFAICT isn't yet addressed is that of a userspace spin lock holder taking a scheduling preemption which may result in other threads piling up on the lock orders of magnitude beyond normal wait times, until the lock holder is rescheduled.
-john
-- john.cooper@third-harmonic.com
| |