Re: [patch 11/21] Xen-paravirt: Add apply_to_page_range() which applies a function to a pte range.
From: Jeremy Fitzhardinge <hidden>
Date: 2007-02-16 07:06:46
Also in:
lkml, xen-devel
From: Jeremy Fitzhardinge <hidden>
Date: 2007-02-16 07:06:46
Also in:
lkml, xen-devel
Andrew Morton wrote:
On Thu, 15 Feb 2007 18:25:00 -0800 Jeremy Fitzhardinge [off-list ref] wrote:quoted
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