Re: [PATCH 4/11] maps3: introduce a generic page walker

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Matt Mackall <mpm@...>
Cc: Andrew Morton <akpm@...>, <linux-kernel@...>, Dave Hansen <haveblue@...>, Rusty Russell <rusty@...>, David Rientjes <rientjes@...>, Fengguang Wu <wfg@...>
Date: Monday, October 15, 2007 - 6:40 pm

Matt Mackall wrote:

Definitely approve in principle, but some comments:


It would be nice to have some clue about when each of these functions
are called (depth first? pre or post order?), and what their params
are.  Does it call a callback for folded pagetable levels?

Can pte_hole be used to create new mappings while we're traversing the
pagetable?  Apparently not, because it continues after calling it.


Should this be (pte, addr, addr+PAGE_SIZE, private)?  Is the second addr
argument for the address range being mapped by this thing?  Why pass
addr twice?


It calls a callback for every level of the pagetable.


-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/11] maps3: pagemap monitoring v3, Matt Mackall, (Mon Oct 15, 6:25 pm)
Re: [PATCH 11/11] maps3: make page monitoring /proc file opt..., Jeremy Fitzhardinge, (Mon Oct 15, 6:51 pm)
[PATCH 8/11] maps3: regroup task_mmu by interface, Matt Mackall, (Mon Oct 15, 6:26 pm)
[PATCH 9/11] maps3: add /proc/pid/pagemap interface, Matt Mackall, (Mon Oct 15, 6:26 pm)
[PATCH 7/11] maps3: move clear_refs code to task_mmu.c, Matt Mackall, (Mon Oct 15, 6:26 pm)
Re: [PATCH 7/11] maps3: move clear_refs code to task_mmu.c, David Rientjes, (Tue Oct 16, 1:11 am)
[PATCH 4/11] maps3: introduce a generic page walker, Matt Mackall, (Mon Oct 15, 6:26 pm)
Re: [PATCH 4/11] maps3: introduce a generic page walker, David Rientjes, (Tue Oct 16, 12:58 am)
Re: [PATCH 4/11] maps3: introduce a generic page walker, Jeremy Fitzhardinge, (Mon Oct 15, 6:40 pm)
Re: [PATCH 4/11] maps3: introduce a generic page walker, Matt Mackall, (Mon Oct 15, 7:30 pm)
Re: [PATCH 4/11] maps3: introduce a generic page walker, Jeremy Fitzhardinge, (Mon Oct 15, 7:20 pm)
[PATCH 3/11] maps3: move is_swap_pte, Matt Mackall, (Mon Oct 15, 6:26 pm)