From: Matthew Wilcox Subject: Re: up/down semaphores in writepage()? Date: Fri, 30 Apr 2004 12:42:42 +0100 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <20040430114242.GR22558@parcelfarce.linux.theplanet.co.uk> References: <1083273198.2933.18.camel@zaphod> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel@vger.kernel.org Return-path: Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:41096 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id S265157AbUD3Lmn (ORCPT ); Fri, 30 Apr 2004 07:42:43 -0400 To: Shaya Potter Content-Disposition: inline In-Reply-To: <1083273198.2933.18.camel@zaphod> List-Id: linux-fsdevel.vger.kernel.org On Thu, Apr 29, 2004 at 05:13:18PM -0400, Shaya Potter wrote: > Is that allowed? My guess is yes, but sort of gut without any firm > belief. see Documentation/filesystems/Locking ... locking rules: All except set_page_dirty may block BKL PageLocked(page) writepage: no yes, unlocks (see below) -- "Next the statesmen will invent cheap lies, putting the blame upon the nation that is attacked, and every man will be glad of those conscience-soothing falsities, and will diligently study them, and refuse to examine any refutations of them; and thus he will by and by convince himself that the war is just, and will thank God for the better sleep he enjoys after this process of grotesque self-deception." -- Mark Twain