From mboxrd@z Thu Jan 1 00:00:00 1970 From: Changli Gao Subject: Re: [RFC] sched: implement the exclusive wait queue as a LIFO queue Date: Wed, 28 Apr 2010 21:47:36 +0800 Message-ID: References: <1272430986-20436-1-git-send-email-xiaosuo@gmail.com> <8566.1272447243@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: 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: David Howells Return-path: In-Reply-To: <8566.1272447243@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Wed, Apr 28, 2010 at 5:34 PM, David Howells wr= ote: > > Can you split the wait queue code and differentiate exclusive wait qu= eues with > LIFO functionality from wait queues with FIFO functionality. =C2=A0I = can see why > your suggestion is desirable. > OK. I will use two lists: one for non-exclusive wait queues, and the other for exclusive wait queues, and I'll add new interfaces for LIFO functionality instead of changing the current interfaces. --=20 Regards=EF=BC=8C Changli Gao(xiaosuo@gmail.com)