Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266268AbUA2Agj (ORCPT ); Wed, 28 Jan 2004 19:36:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S266270AbUA2Agj (ORCPT ); Wed, 28 Jan 2004 19:36:39 -0500 Received: from wombat.indigo.net.au ([202.0.185.19]:4109 "EHLO wombat.indigo.net.au") by vger.kernel.org with ESMTP id S266268AbUA2Agh (ORCPT ); Wed, 28 Jan 2004 19:36:37 -0500 Date: Thu, 29 Jan 2004 08:35:54 +0800 (WST) From: Ian Kent X-X-Sender: raven@wombat.indigo.net.au To: Mike Waychison cc: Kernel Mailing List , Andrew Morton , Maneesh Soni , Al Viro , Jeremy Fitzhardinge Subject: Re: [PATCH 4/8] autofs4-2.6 - to support autofs 4.1.x In-Reply-To: <4017EBA2.1080302@sun.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-MailScanner: Found to be clean X-MailScanner-SpamCheck: not spam, SpamAssassin (score=-2, required 8, EMAIL_ATTRIBUTION, IN_REP_TO, QUOTED_EMAIL_TEXT, REPLY_WITH_QUOTES, USER_AGENT_PINE) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1020 Lines: 32 On Wed, 28 Jan 2004, Mike Waychison wrote: > raven@themaw.net wrote: > > > > >Patch: > > > >4-autofs4-2.6.0-test9-waitq2.patch > > > >Adds a spin lock to serialize access to wait queue in the super block info > >struct. > > > > > > > A while back I wrote up a patch for autofs3 that serialized waitq access > and changed the waitq counters to atomic_t. I never sent it out because > I had realized that the changes I made weren't needed as all waitq > code-paths were running under the BKL (the big ones were ->lookup and > the ioctls). My understanding is that this code can be reached at least via lookup, readdir and revalidate. I thought that in 2.6 none of these held the BKL on entry (I'll have to check). Certainly this is the case for revalidate. Ian - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/