Re: [RFC][PATCH RT 1/2] futex_requeue-optimize
From: Ingo Molnar
Date: Fri May 12 2006 - 09:39:45 EST
* Sébastien Dugué <sebastien.dugue@xxxxxxxx> wrote:
> Queuing to the head would mean that tasks are woken up in LIFO order
> (i.e. the last task put to sleep will be the first to be woken up).
> I'm not sure that's what people would expect, or am I missing
> something here?
hm, indeed, you are right. So a double-linked list head it has to be.
Ingo
-
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/