Re: [PATCH 10/11] maps3: add /proc/kpagecount and /proc/kpageflags interfaces

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Dave Hansen
Date: Monday, October 15, 2007 - 5:49 pm

On Mon, 2007-10-15 at 19:35 -0500, Matt Mackall wrote:

Yeah, that looks like a pretty sane scheme.  Do we want to be any more
abstract about it?  Perhaps instead of USER_SLAB, it should be
USER_KERNEL_INTERNAL, or USER_KERNEL_USE.  The slab itself is going away
as we speak. :)


We could also Yeah, that looks like a pretty sane scheme.  Do we want to
be any more abstract about it?  Perhaps instead of USER_SLAB, it should
be USER_KERNEL_INTERNAL, or USER_KERNEL_USE.  The slab itself is going
away as we speak.

For the bits that we want to export, we could also add the unoptimized
access functions for any that don't already have them:

#define __ClearPageReserved(page)       __clear_bit(PG_reserved, &(page)->flags)

Anybody changing bit behavior will certainly go check all of the
callers, such as ClearPageReserved() *and* __ClearPageReserved().

-- Dave

-
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, 3:25 pm)
[PATCH 3/11] maps3: move is_swap_pte, Matt Mackall, (Mon Oct 15, 3:26 pm)
[PATCH 4/11] maps3: introduce a generic page walker, Matt Mackall, (Mon Oct 15, 3:26 pm)
[PATCH 7/11] maps3: move clear_refs code to task_mmu.c, Matt Mackall, (Mon Oct 15, 3:26 pm)
[PATCH 8/11] maps3: regroup task_mmu by interface, Matt Mackall, (Mon Oct 15, 3:26 pm)
[PATCH 9/11] maps3: add /proc/pid/pagemap interface, Matt Mackall, (Mon Oct 15, 3:26 pm)
Re: [PATCH 4/11] maps3: introduce a generic page walker, Jeremy Fitzhardinge, (Mon Oct 15, 3:40 pm)
Re: [PATCH 11/11] maps3: make page monitoring /proc file o ..., Jeremy Fitzhardinge, (Mon Oct 15, 3:51 pm)
Re: [PATCH 4/11] maps3: introduce a generic page walker, Jeremy Fitzhardinge, (Mon Oct 15, 4:20 pm)
Re: [PATCH 4/11] maps3: introduce a generic page walker, Matt Mackall, (Mon Oct 15, 4:30 pm)
Re: [PATCH 10/11] maps3: add /proc/kpagecount and /proc/kp ..., Dave Hansen, (Mon Oct 15, 5:49 pm)
Re: [PATCH 4/11] maps3: introduce a generic page walker, David Rientjes, (Mon Oct 15, 9:58 pm)
Re: [PATCH 7/11] maps3: move clear_refs code to task_mmu.c, David Rientjes, (Mon Oct 15, 10:11 pm)