[Devel] Re: [PATCH v2] wait: use wrapper functions

Peter Zijlstra peterz at infradead.org
Fri May 7 03:12:14 PDT 2010


On Fri, 2010-05-07 at 14:33 +0800, Changli Gao wrote:
> use wrapper functions
> 
> epoll should not touch flags in wait_queue_t. This patch introduces a new
> function __add_wait_queue_excl(), for the users, who use wait queue as a
> LIFO queue.
> 
> __add_wait_queue_tail_excl() is introduced too instead of
> add_wait_queue_exclusive_locked(). remove_wait_queue_locked() is removed, as
> it is a duplicate of __remove_wait_queue(), disliked by users, and with less
> users.
> 
> Signed-off-by: Changli Gao <xiaosuo at gmail.com>

Looks good to me. I can feed it to Ingo if he doesn't pick it up
himself.



_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list