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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Changli Gao
Date: Wednesday, April 28, 2010 - 8:33 am

On Wed, Apr 28, 2010 at 11:00 PM, David Howells <dhowells@redhat.com> wrote:

It should be seldom in good applications. So I only need to add a
function, like this:

add_wait_queue_head_exclusive(wq, wait)
   first_exclusive = find_the_first_exclusive(wq); // it is fast, as
there should no or few non-exclusive wait queues
   list_add(wait, first_exclusive);


-- 
Regards,
Changli Gao(xiaosuo@gmail.com)
--
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 ..., Changli Gao, (Wed Apr 28, 8:33 am)