public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch 0/3] [-rt] Fixes the timeout-bug in the rtmutex/PI-futex.
@ 2006-07-23  1:18 Esben Nielsen
  2006-07-26  8:41 ` Ingo Molnar
  0 siblings, 1 reply; 6+ messages in thread
From: Esben Nielsen @ 2006-07-23  1:18 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, Steven Rostedt, LKML

--
Hi,
  I finally got around to send in the a new version of my fixes to PI. The main 
purpose is to fix the timeout bug of the rtmutex/PI-futex. To refresh:

If you try to take a rtmutex or a PI-futex with a timeout on UP machine you
will not get the lock before the owner is done with it anyway. This is because
the owner is boosted to the same priority as your task. When your task gets
the timeout it will not get the CPU and the owner will not be de-boosted
before it releases the lock on it's own.

This series of patches fixes that bug and in general secures the PI code 
against similar problems, which might be there, due to the preemptive 
PI-walking. Furthermore, it makes setscheduler() do the PI-walking - or
rather make the target task do it.

Esben

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-07-26 11:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-23  1:18 [patch 0/3] [-rt] Fixes the timeout-bug in the rtmutex/PI-futex Esben Nielsen
2006-07-26  8:41 ` Ingo Molnar
2006-07-26  8:54   ` Ingo Molnar
2006-07-26  8:55     ` Ingo Molnar
2006-07-26 11:24       ` Esben Nielsen
2006-07-26 12:26       ` Esben Nielsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox