maps#2: pagemap, kpagemap, and related cleanups take 2
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest13 patches 16 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | maps#2: Uninline some functions in the page walkerfs/ | +7 | 0 replies | |
| 2/13 | maps#2: Eliminate the pmd_walker struct in the page walkerfs/ | +20 | 0 replies | |
| 3/13 | maps#2: Remove vma from args in the page walkerfs/ | +11 | 0 replies | |
| 4/13 | maps#2: Propagate errors from callback in page walkerfs/ | +37 | 0 replies | |
| 5/13 | maps#2: Add callbacks for each level to page walkerfs/ | +66 | 0 replies | |
| 6/13 | maps#2: Move the page walker code to lib/fs/ include/ lib/ +1 more | +122 | 8 replies | |
| 7/13 | maps#2: Simplify interdependence of /proc/pid/maps and smapsfs/ | +24 | 0 replies | |
| 8/13 | maps#2: Move clear_refs code to task_mmu.cfs/ fs/ fs/ +1 more | +37 | 0 replies | |
| 9/13 | maps#2: Regroup task_mmu by interfacefs/ | +190 | 0 replies | |
| 10/13 | maps#2: Make /proc/pid/smaps optional under CONFIG_EMBEDDEDfs/ fs/ init/ | +14 | 0 replies | |
| 11/13 | maps#2: Make /proc/pid/clear_refs option under CONFIG_EMBEDDEDfs/ fs/ init/ | +15 | 1 reply | |
| 12/13 | maps#2: Add /proc/pid/pagemap interfacefs/ fs/ fs/ +1 more | +203 | 4 replies | |
| 13/13 | maps#2: Add /proc/kpagemap interfacefs/ init/ | +101 | 3 replies |
Reviews trailers per patch
1 of 13 patches has a Reviewed-by or Acked-by.
| Patch | David Rientjes |
|---|---|
| 1/13 | |
| 2/13 | |
| 3/13 | |
| 4/13 | |
| 5/13 | |
| 6/13 | |
| 7/13 | |
| 8/13 | |
| 9/13 | |
| 10/13 | |
| 11/13 | A-b |
| 12/13 | |
| 13/13 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/13] maps#2: pagemap, kpagemap, and related cleanups take 2
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.