[patch 0/3] [-rt] Fixes the timeout-bug in the rtmutex/PI-futex.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux