From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Howells Subject: Re: [RFC] sched: implement the exclusive wait queue as a LIFO queue Date: Wed, 28 Apr 2010 10:32:02 +0100 Message-ID: <8526.1272447122@redhat.com> References: <1272430986-20436-1-git-send-email-xiaosuo@gmail.com> Cc: dhowells@redhat.com, Ingo Molnar , Alexander Viro , Andrew Morton , "Eric W. Biederman" , Davide Libenzi , Roland Dreier , Stefan Richter , Peter Zijlstra , "David S. Miller" , Eric Dumazet , Christoph Lameter , Andreas Herrmann , Thomas Gleixner , Takashi Iwai , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org To: Changli Gao Return-path: In-Reply-To: <1272430986-20436-1-git-send-email-xiaosuo@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Changli Gao wrote: > @@ -50,6 +48,7 @@ struct wait_bit_queue { > struct __wait_queue_head { > spinlock_t lock; > struct list_head task_list; > + struct list_head task_list_ex; It would be preferable it if you could avoid making struct __wait_queue_head bigger. That will increase the size of a lot of things. David