From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751917AbXDDQHs (ORCPT ); Wed, 4 Apr 2007 12:07:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751998AbXDDQHs (ORCPT ); Wed, 4 Apr 2007 12:07:48 -0400 Received: from ns.suse.de ([195.135.220.2]:60259 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751917AbXDDQHq (ORCPT ); Wed, 4 Apr 2007 12:07:46 -0400 Date: Wed, 4 Apr 2007 18:07:15 +0200 From: Andrea Arcangeli To: Hugh Dickins Cc: Dan Aloni , Nick Piggin , Andrew Morton , Linus Torvalds , Linux Memory Management List , tee@sgi.com, holt@sgi.com, Linux Kernel Mailing List Subject: Re: [rfc] no ZERO_PAGE? Message-ID: <20070404160715.GJ19587@v2.random> References: <20070404033726.GE18507@wotan.suse.de> <20070404102407.GA529@wotan.suse.de> <20070404122701.GB19587@v2.random> <20070404135530.GA29026@localdomain> <20070404141457.GF19587@v2.random> <20070404144421.GA13762@localdomain> <20070404153451.GH19587@v2.random> 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 On Wed, Apr 04, 2007 at 04:41:46PM +0100, Hugh Dickins wrote: > Nor I: I meant that anonymous readfault should > (perhaps) mark the pte writable but clean. Sorry I assumed when you said clean you implied readonly... Though we'd need to differentiate the archs where the dirty bit is not set by the hardware. Overall I'm unsure it worth it. Currently the VM definitely wouldn't cope with a writeable and clean anonymous page, so we'd need to change shrink_page_list and try_to_unmap_anon to make it work. Likely it won't be measurable, so it may be a nice feature to have from a theoretical point of view, in practice I doubt it matters.