mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* futex: priority wakeup miss ordering
@ 2008-05-07 21:22 Daniel Walker
  2008-05-08  8:25 ` Andrew Morton
  2008-05-08 10:06 ` Thomas Gleixner
  0 siblings, 2 replies; 4+ messages in thread
From: Daniel Walker @ 2008-05-07 21:22 UTC (permalink / raw)
  To: Pierre Peiffer; +Cc: linux-kernel



from commit ec92d08292d3e9b0823eba138a4564d2d39f25c7

The wakeup ordering should be in priority order. However if the priority
of a task is modified while it's waiting on the futex you will get an
out of order wakeup.

If you use a priority inheriting mutex this is correct. It's because the
rtmutex hooks into sched_setscheduler to catch any priority changes,
then re-queues with the new priority.. But the futex doesn't have this
hook.

Was this intentionally left out of this priority wake up patch? I
thought I would let you know in case you had a specific reason for not
handling this.. 

Daniel


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

end of thread, other threads:[~2008-05-08 16:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-07 21:22 futex: priority wakeup miss ordering Daniel Walker
2008-05-08  8:25 ` Andrew Morton
2008-05-08 10:06 ` Thomas Gleixner
2008-05-08 16:28   ` Daniel Walker

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

all inboxes | Powered by JetHome®