Re: [RFC] sched: implement the exclusive wait queue as a LIFO queue

From: Changli Gao
Date: Wed Apr 28 2010 - 09:48:11 EST


On Wed, Apr 28, 2010 at 5:34 PM, David Howells <dhowells@xxxxxxxxxx> wrote:
>
> Can you split the wait queue code and differentiate exclusive wait queues with
> LIFO functionality from wait queues with FIFO functionality. ÂI can see why
> your suggestion is desirable.
>

OK. I will use two lists: one for non-exclusive wait queues, and the
other for exclusive wait queues, and I'll add new interfaces for LIFO
functionality instead of changing the current interfaces.

--
Regardsï
Changli Gao(xiaosuo@xxxxxxxxx)
--
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/