From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [patch 2/6] mmu_notifier: Callbacks to invalidate address ranges From: Peter Zijlstra In-Reply-To: <20080130005912.GC7233@v2.random> References: <20080128202923.849058104@sgi.com> <20080129162004.GL7233@v2.random> <20080129211759.GV7233@v2.random> <20080129220212.GX7233@v2.random> <20080130000039.GA7233@v2.random> <20080130000559.GB7233@v2.random> <20080130005912.GC7233@v2.random> Content-Type: text/plain Date: Wed, 30 Jan 2008 09:26:22 +0100 Message-Id: <1201681582.28547.160.camel@lappy> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Andrea Arcangeli Cc: Christoph Lameter , Robin Holt , Avi Kivity , Izik Eidus , Nick Piggin , kvm-devel@lists.sourceforge.net, Benjamin Herrenschmidt , steiner@sgi.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, daniel.blueman@quadrics.com, Hugh Dickins List-ID: On Wed, 2008-01-30 at 01:59 +0100, Andrea Arcangeli wrote: > On Tue, Jan 29, 2008 at 04:22:46PM -0800, Christoph Lameter wrote: > > That is only partially true. pte are created wronly in order to track > > dirty state these days. The first write will lead to a fault that switches > > the pte to writable. When the page undergoes writeback the page again > > becomes write protected. Thus our need to effectively deal with > > page_mkclean. > > Well I was talking about anonymous memory. Just to be absolutely clear on this (I lost track of what exactly we are talking about here), nonlinear mappings no not do the dirty accounting, and are not allowed on a backing store that would require dirty accounting. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org