Re: [PATCH 3/3] futex: fix miss ordered wakeups

From: Daniel Walker
Date: Fri May 23 2008 - 01:15:33 EST



On Thu, 2008-05-22 at 22:02 -0700, Ulrich Drepper wrote:
> On Thu, May 22, 2008 at 12:00 AM, Daniel Walker <dwalker@xxxxxxxxxx> wrote:
> > This patch corrects this issue, so the tasks are always woken in priority
> > order.
>
> This is completely unnecessary overhead for 99.999% of all cases. It
> was deliberately not done. You slowing things down for everybody. If
> you want priorities, then use PI futexes.

That's the problem we aren't just covering 99.99% we're trying to cover
100% of cases.. If we don't do it in that one case we may as well not do
it at all.

Daniel

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/