Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751765AbWEaRym (ORCPT ); Wed, 31 May 2006 13:54:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751766AbWEaRym (ORCPT ); Wed, 31 May 2006 13:54:42 -0400 Received: from ns.virtualhost.dk ([195.184.98.160]:47654 "EHLO virtualhost.dk") by vger.kernel.org with ESMTP id S1751765AbWEaRym (ORCPT ); Wed, 31 May 2006 13:54:42 -0400 Date: Wed, 31 May 2006 19:56:48 +0200 From: Jens Axboe To: Hugh Dickins Cc: Nick Piggin , Linus Torvalds , Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org, mason@suse.com, andrea@suse.de Subject: Re: [rfc][patch] remove racy sync_page? Message-ID: <20060531175648.GZ29535@suse.de> References: <20060529121556.349863b8.akpm@osdl.org> <447B8CE6.5000208@yahoo.com.au> <20060529183201.0e8173bc.akpm@osdl.org> <447BB3FD.1070707@yahoo.com.au> <447BD31E.7000503@yahoo.com.au> <447BD9CE.2020505@yahoo.com.au> <447CE1A3.60507@yahoo.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 743 Lines: 19 On Wed, May 31 2006, Hugh Dickins wrote: > > What places want to use set_page_dirty_lock without sleeping? > > The only place in drivers/ apart from sg/st that SetPageDirty are > > rd.c and via_dmablit.c, both of which look OK, if a bit crufty. > > I've not looked recently, but bio.c sticks in the mind as one which > is pushed to the full contortions to allow for sleeping there. Indeed, there's a whole bunch of functions and punting to workqueues just to work around that :-) -- Jens Axboe - 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/