Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422816AbXBALpX (ORCPT ); Thu, 1 Feb 2007 06:45:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1422825AbXBALpX (ORCPT ); Thu, 1 Feb 2007 06:45:23 -0500 Received: from mx1.redhat.com ([66.187.233.31]:60324 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1422816AbXBALpX (ORCPT ); Thu, 1 Feb 2007 06:45:23 -0500 From: David Howells In-Reply-To: References: <45BDCA8A.4050809@yahoo.com.au> To: Hugh Dickins Cc: Nick Piggin , linux-kernel , Linux Memory Management , David Howells , Andrew Morton Subject: Re: page_mkwrite caller is racy? X-Mailer: MH-E 8.0; nmh 1.1; GNU Emacs 22.0.50 Date: Thu, 01 Feb 2007 11:44:59 +0000 Message-ID: <5129.1170330299@redhat.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 502 Lines: 15 Hugh Dickins wrote: > > Must it be able to sleep? > > Not as David was using it It absolutely *must* be able to sleep. It has to wait for FS-Cache to finish writing the page to the cache before letting the PTE be made writable. David - 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/