From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932518AbXBPHGq (ORCPT ); Fri, 16 Feb 2007 02:06:46 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932604AbXBPHGp (ORCPT ); Fri, 16 Feb 2007 02:06:45 -0500 Received: from gw.goop.org ([64.81.55.164]:47369 "EHLO mail.goop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932518AbXBPHGp (ORCPT ); Fri, 16 Feb 2007 02:06:45 -0500 Message-ID: <45D55805.908@goop.org> Date: Thu, 15 Feb 2007 23:06:45 -0800 From: Jeremy Fitzhardinge User-Agent: Thunderbird 1.5.0.9 (X11/20070212) MIME-Version: 1.0 To: Andrew Morton CC: Andi Kleen , linux-kernel@vger.kernel.org, virtualization@lists.osdl.org, xen-devel@lists.xensource.com, Chris Wright , Zachary Amsden , Ian Pratt , Christian Limpach , Christoph Lameter Subject: Re: [patch 11/21] Xen-paravirt: Add apply_to_page_range() which applies a function to a pte range. References: <20070216022449.739760547@goop.org> <20070216022531.344125142@goop.org> <20070215223727.6819f962.akpm@linux-foundation.org> In-Reply-To: <20070215223727.6819f962.akpm@linux-foundation.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Andrew Morton wrote: > On Thu, 15 Feb 2007 18:25:00 -0800 Jeremy Fitzhardinge wrote: > > >> Add a new mm function apply_to_page_range()[...] > There was some discussion about this sort of thing last week. The > consensus was that it's better to run the callback against a whole pmd's > worth of ptes, mainly to amortise the callback's cost (a lot). > > It was implemented in > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20/2.6.20-mm1/broken-out/smaps-extract-pmd-walker-from-smaps-code.patch Yes I was looking at that and wondering what the upshot would be. I'll have a closer look, but it seems like it should be usable. J From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: Re: [patch 11/21] Xen-paravirt: Add apply_to_page_range() which applies a function to a pte range. Date: Thu, 15 Feb 2007 23:06:45 -0800 Message-ID: <45D55805.908@goop.org> References: <20070216022449.739760547@goop.org> <20070216022531.344125142@goop.org> <20070215223727.6819f962.akpm@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20070215223727.6819f962.akpm@linux-foundation.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Andrew Morton Cc: Zachary Amsden , xen-devel@lists.xensource.com, Ian Pratt , virtualization@lists.osdl.org, linux-kernel@vger.kernel.org, Chris Wright , Andi Kleen , Christoph Lameter , Christian Limpach List-Id: virtualization@lists.linuxfoundation.org Andrew Morton wrote: > On Thu, 15 Feb 2007 18:25:00 -0800 Jeremy Fitzhardinge wrote: > > >> Add a new mm function apply_to_page_range()[...] > There was some discussion about this sort of thing last week. The > consensus was that it's better to run the callback against a whole pmd's > worth of ptes, mainly to amortise the callback's cost (a lot). > > It was implemented in > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20/2.6.20-mm1/broken-out/smaps-extract-pmd-walker-from-smaps-code.patch Yes I was looking at that and wondering what the upshot would be. I'll have a closer look, but it seems like it should be usable. J