On Sat, 2008-05-24 at 10:55 +0200, Thomas Gleixner wrote:
Lock stealing? The usage of sched_setscheduler is fairly pervasive in
userspace, if a task becomes SCHED_FIFO it did so via
sched_setscheduler. So I don't think this is at all "once a year". Tasks
shouldn't be forced to determine if a task is sleeping or not before it
calls sched_setscheduler.
There are degree's of overhead with each step.. Someone may not need or
want priority inheritance.
You mean the lock ordering would cause the deadlock vs. unqueue_me_pi ,
or are you talking about something else?
Daniel
--