lkml.org 
[lkml]   [2006]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[patch 0/3] [-rt] Fixes the timeout-bug in the rtmutex/PI-futex.
--
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-07-23 02:21    [W:0.205 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site