Skip to content

maps: pagemap, kpagemap, and related cleanups

Matt Mackall lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 63 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13maps: Uninline some functions in the page walkerfs/proc/task_mmu.c+7 -70 replies
2/13maps: Eliminate the pmd_walker struct in the page walkerfs/proc/task_mmu.c+20 -270 replies
3/13maps: Remove vma from args in the page walkerfs/proc/task_mmu.c+11 -80 replies
4/13maps: Propagate errors from callback in page walkerfs/proc/task_mmu.c+37 -200 replies
5/13maps: Add callbacks for each level to page walkerfs/proc/task_mmu.c+66 -230 replies
6/13maps: Move the page walker code to lib/fs/proc/task_mmu.c include/linux/mm.h lib/Makefile +1 more+122 -1186 replies
7/13maps: Simplify interdependence of /proc/pid/maps and smapsfs/proc/task_mmu.c+24 -240 replies
8/13maps: Move clear_refs code to task_mmu.cfs/proc/base.c fs/proc/internal.h fs/proc/task_mmu.c +1 more+37 -480 replies
9/13maps: Regroup task_mmu by interfacefs/proc/task_mmu.c+190 -1890 replies
10/13maps: Make /proc/pid/smaps optional under CONFIG_EMBEDDEDfs/proc/base.c fs/proc/task_mmu.c init/Kconfig+14 -00 replies
11/13maps: Make /proc/pid/clear_refs option under CONFIG_EMBEDDEDfs/proc/base.c fs/proc/task_mmu.c init/Kconfig+15 -01 reply
12/13maps: Add /proc/pid/pagemap interfacefs/proc/base.c fs/proc/internal.h fs/proc/task_mmu.c +1 more+187 -14 replies
13/13maps: Add /proc/kpagemap interfacefs/proc/proc_misc.c init/Kconfig+82 -00 replies

Reviews trailers per patch

1 of 13 patches has a Reviewed-by or Acked-by.

PatchDavid Rientjes
1/13
2/13
3/13
4/13
5/13
6/13
7/13
8/13
9/13
10/13
11/13A-b
12/13
13/13

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups

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.