From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Subject: Re: [PATCH v2] wait: use wrapper functions Date: Fri, 7 May 2010 13:52:20 -0700 Message-ID: <20100507135220.a972a6b2.akpm@linux-foundation.org> References: <1273214006-2979-1-git-send-email-xiaosuo@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Alexander Viro , Davide Libenzi , linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Paul Menage , Ingo Molnar To: Changli Gao Return-path: In-Reply-To: <1273214006-2979-1-git-send-email-xiaosuo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org List-Id: linux-fsdevel.vger.kernel.org On Fri, 7 May 2010 14:33:26 +0800 Changli Gao wrote: > 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_exclusive(), please. Let's be consistent.