Skip to content

Add MADV_COLLAPSE documentation

Zach OKeefe linux-man linux-mm 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 20 repliesIn review
  2. v24 patches 5 repliesSuperseded
  3. v14 patches 10 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4madvise.2: update THP file/shmem documentation for +5.4man2/madvise.2+35 -33 replies
2/4madvise.2: document reliable probe for advice supportman2/madvise.2+5 -04 replies
3/4process_madvise.2: fix capability and ptrace requirementsman2/process_madvise.2+17 -44 replies
4/4madvise.2: add documentation for MADV_COLLAPSEman2/madvise.2 man2/process_madvise.2+98 -29 replies

Reviews trailers per patch

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

PatchSuren Baghdasaryan
1/4
2/4
3/4R-b
4/4

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

Read the v3 thread

Cover letter [PATCH man-pages v3 0/4] Add MADV_COLLAPSE documentation

From: Zach O'Keefe <[email protected]>

v3 Forward

Changes from v2[1]:

- Patch 3 adds a NOTES section that records the security requirements when process_madvise(2) syscall was added in Linux 5.10 (Alex Colomar).
- Patch 3 also corrects documented PTRACE_MODE_READ_REALCREDS ptrace mode for process_madvise(2).

[1] https://lore.kernel.org/linux-man/[email protected]/

----------------------------------------------

v2 Forward

Changes from v1[2]:

- All patches have seen some reformatting and/or typo corrections (Alex Colomar).
- Patch 3 has had the commit description reworded to reflect that this commit is a "fix" rather than an "update" (Alex Colomar).
- Rebased on man-pages-6.01

[2] https://lore.kernel.org/linux-man/[email protected]/T/#m8e9e94ed52c99e7cf4969bd992492359c59a0faa

----------------------------------------------

Hey Alex / Michael,

This series adds MADV_COLLAPSE (expected for Linux 6.1) documentation to madvise(2) and process_madvise(2). A few prerequisite patches are included to fix up existing MADV_HUGEPAGE and process_madvise(2) documentation, as well as add some additional clarity for madvise(2) "advice" probing.

Series applies on man-pages-6.00, and I've attempted to use semantic newlines, though I can't claim I've made the right choices everywhere for long clauses.

Thanks,
Zach

Zach O'Keefe (4):
madvise.2: update THP file/shmem documentation for +5.4 madvise.2: document reliable probe for advice support process_madvise.2: fix capability and ptrace requirements madvise.2: add documentation for MADV_COLLAPSE

 man2/madvise.2         | 133 +++++++++++++++++++++++++++++++++++++++--
 man2/process_madvise.2 |  31 ++++++++--
 2 files changed, 155 insertions(+), 9 deletions(-)
Signature · 1 line
2.38.0.135.g90850a2211-goog