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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Howells
Date: Wednesday, April 28, 2010 - 7:06 am

Changli Gao <xiaosuo@gmail.com> wrote:


I suspect you really want to have the semantics defined per-queue.  _Either_ a
queue is FIFO (such as processes waiting for a resource so they can do
something with it) _or_ it is LIFO (such as a pool of processes waiting to be
given work).

How often do the two actually mix?  And if they do, is that really an error?

David
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC] sched: implement the exclusive wait queue as a L ..., David Howells, (Wed Apr 28, 7:06 am)