Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups
- From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 13 Apr 2007 10:58:08 -0700
On Fri, 13 Apr 2007 12:24:51 -0500 Matt Mackall <mpm@xxxxxxxxxxx> wrote:
From /proc/kpagemap + /proc/*/pagemap, you can
basically synthesize any statistic you want, including all the
existing ones. For some data, /proc/pid/smaps (or /proc/meminfo) will
be considerably more efficient.
You'd need to poke clear_refs beforehand to make the referenced bits useful.
Actually, we also need to run around the ptes and collect the pte-referenced
bits too. I don't think your code copes with any of that?
No, and it probably should. Perhaps dirty as well, though I've kindof
lost the plot on how that works lately.
Dirty is OK: the VM keeps pte-dirtiness and page-dirtiness in sync now.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups
- From: Matt Mackall
- Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups
- From: William Lee Irwin III
- Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups
- From: Andrew Morton
- Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups
- From: Nick Piggin
- Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups
- From: Andrew Morton
- Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups
- From: Matt Mackall
- Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups
- From: Andrew Morton
- Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups
- From: Matt Mackall
- [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups
- Prev by Date: Re: [patch -mm] i386: use pte_update_defer in ptep_test_and_clear_{dirty,young}
- Next by Date: Re: [PATCH] cache_k8_northbridges() overflows beyond allocation (Was: 2.6.21-rc5-mm4 (SLUB))
- Previous by thread: Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups
- Next by thread: Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups
- Index(es):