From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id BC982DDE2F for ; Thu, 10 May 2007 08:48:22 +1000 (EST) Subject: Re: vm changes from linux-2.6.14 to linux-2.6.15 From: Benjamin Herrenschmidt To: Mark Fortescue In-Reply-To: References: <20070430145414.88fda272.akpm@linux-foundation.org> <20070430.150407.07642146.davem@davemloft.net> <1177977619.24962.6.camel@localhost.localdomain> <20070430.173806.112621225.davem@davemloft.net> <1177985136.24962.8.camel@localhost.localdomain> <1178055110.13263.2.camel@localhost.localdomain> Content-Type: text/plain Date: Thu, 10 May 2007 08:48:02 +1000 Message-Id: <1178750882.14928.199.camel@localhost.localdomain> Mime-Version: 1.0 Cc: linux-mm@kvack.org, wli@holomorphy.com, linuxppc-dev@ozlabs.org, andrea@suse.de, sparclinux@vger.kernel.org, Andrew Morton , David Miller List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2007-05-09 at 20:44 +0100, Mark Fortescue wrote: > Hi Ben, > > Is it worth formally sending in either of my patches or does more work > need to be done first? Sorry, I've been busy with other things... What do other thing about it ? Having update_mmu_cache() call buried inside the ptep_set_access_flags() sounds good ? Somebody has a better idea ? One thing I was thinking was that we could replace the whole logic with having ptep_set_access_flags() compare the new PTE bits with what was already there and return wether an update_mmu_cache() is required.... Ben.