This patch series introduces /proc/pid/pagemap and /proc/kpagemap, which allow detailed run-time examination of process memory usage at a page granularity. The first several patches whip the page-walking code introduced for /proc/pid/smaps and clear_refs into a more generic form, the next couple make those interfaces optional, and the last two introduce the new interfaces, also optional. This respin adds simple, expandable headers to both pagemap and kpagemap as suggested by Nikita. I haven't moved pagewalk.c from lib/ to mm/ as suggested by Nick as I still think lib is a better fit for its automatic conditional linking. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- [PATCH 4/13] maps#2: Propagate errors from callback in page walker
- From: Matt Mackall <[email protected]>
- [PATCH 6/13] maps#2: Move the page walker code to lib/
- From: Matt Mackall <[email protected]>
- [PATCH 5/13] maps#2: Add callbacks for each level to page walker
- From: Matt Mackall <[email protected]>
- [PATCH 2/13] maps#2: Eliminate the pmd_walker struct in the page walker
- From: Matt Mackall <[email protected]>
- [PATCH 3/13] maps#2: Remove vma from args in the page walker
- From: Matt Mackall <[email protected]>
- [PATCH 8/13] maps#2: Move clear_refs code to task_mmu.c
- From: Matt Mackall <[email protected]>
- [PATCH 7/13] maps#2: Simplify interdependence of /proc/pid/maps and smaps
- From: Matt Mackall <[email protected]>
- [PATCH 10/13] maps#2: Make /proc/pid/smaps optional under CONFIG_EMBEDDED
- From: Matt Mackall <[email protected]>
- [PATCH 9/13] maps#2: Regroup task_mmu by interface
- From: Matt Mackall <[email protected]>
- [PATCH 11/13] maps#2: Make /proc/pid/clear_refs option under CONFIG_EMBEDDED
- From: Matt Mackall <[email protected]>
- [PATCH 12/13] maps#2: Add /proc/pid/pagemap interface
- From: Matt Mackall <[email protected]>
- [PATCH 13/13] maps#2: Add /proc/kpagemap interface
- From: Matt Mackall <[email protected]>
- [PATCH 1/13] maps#2: Uninline some functions in the page walker
- From: Matt Mackall <[email protected]>
- [PATCH 4/13] maps#2: Propagate errors from callback in page walker
- Prev by Date: Re: coding style for long conditions (WAS: Re: [PATCH 25/90] ... blinky leds!!)
- Next by Date: [PATCH 1/13] maps#2: Uninline some functions in the page walker
- Previous by thread: Re: [ckrm-tech] [PATCH 7/7] containers (V7): Container interface to nsproxy subsystem
- Next by thread: [PATCH 1/13] maps#2: Uninline some functions in the page walker
- Index(es):