From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Mackall Subject: Re: [patch 20/20] Add apply_to_page_range() which applies a function to a pte range. Date: Thu, 19 Apr 2007 16:30:13 -0500 Message-ID: <20070419213013.GI11115@waste.org> References: <20070404191151.009821039@goop.org> <20070404191206.675793431@goop.org> <20070405044133.GE4892@waste.org> <46149CC9.2070903@goop.org> <20070417205652.GM11115@waste.org> <4627C6B9.7000605@goop.org> <20070419195957.GF11115@waste.org> <4627E131.5070801@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <4627E131.5070801@goop.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: Jeremy Fitzhardinge Cc: Matt Mackall , Ian Pratt , lkml , Chris Wright , virtualization@lists.osdl.org, Andrew Morton , Christoph Lameter , Ingo Molnar List-Id: virtualization@lists.linuxfoundation.org On Thu, Apr 19, 2007 at 02:37:53PM -0700, Jeremy Fitzhardinge wrote: > Matt Mackall wrote: > > Haven't thought a huge amount about that. Perhaps it's best done with > > the level 3 callback? > > > > Level 2, I think, assuming you count the pte pages as level 1. I think > it can be dealt with, so long as it correctly skips level 1 callbacks > for superpages, and does the test after the level 2 callback has returned. I was counting from the top down. -- Mathematics is the supreme nostalgia of our time.