Skip to content

fs/proc/task_mmu: add guard region bit to pagemap

Lorenzo Stoakes criu linux-api linux-doc linux-fsdevel linux-kselftest linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 12 repliesIn review 1 of 2 applied

Patches in v1 1 of 2 applied

#Subject and filesSizeRepliesApplied
1/2fs/proc/task_mmu: add guard region bit to pagemapDocumentation/admin-guide/mm/pagemap.rst fs/proc/task_mmu.c+7 -210 repliesApplied
2/2tools/selftests: add guard region test for /proc/$pid/pagemaptools/testing/selftests/mm/guard-regions.c tools/testing/selftests/mm/vm_util.h+48 -02 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchKalesh SinghDavid Hildenbrand
1/2A-b
2/2R-b

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/2] fs/proc/task_mmu: add guard region bit to pagemap

Currently there is no means of determining whether a give page in a mapping range is designated a guard region (as installed via madvise() using the MADV_GUARD_INSTALL flag).

This is generally not an issue, but in some instances users may wish to determine whether this is the case.

This series adds this ability via /proc/$pid/pagemap, updates the documentation and adds a self test to assert that this functions correctly.

Lorenzo Stoakes (2):
fs/proc/task_mmu: add guard region bit to pagemap tools/selftests: add guard region test for /proc/$pid/pagemap

 Documentation/admin-guide/mm/pagemap.rst   |  3 +-
 fs/proc/task_mmu.c                         |  6 ++-
 tools/testing/selftests/mm/guard-regions.c | 47 ++++++++++++++++++++++
 tools/testing/selftests/mm/vm_util.h       |  1 +
 4 files changed, 55 insertions(+), 2 deletions(-)

--
2.48.1