Skip to content

Shmem mTHP controls and stats improvements

Ryan Roberts linux-mm lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 11 repliesIn review 1 of 2 applied
  2. v23 patches 8 repliesSuperseded
  3. v12 patches 25 repliesSuperseded

Patches in v3 1 of 2 applied

#Subject and filesSizeRepliesApplied
1/2mm: Cleanup count_mthp_stat() definitioninclude/linux/huge_mm.h mm/memory.c mm/shmem.c+35 -430 repliesApplied
2/2mm: Tidy up shmem mTHP controls and statsmm/huge_memory.c+114 -3011 replies

Reviews trailers per patch

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

PatchBarry SongBaolin WangLance YangDavid Hildenbrand
1/2A-b R-b R-b A-b
2/2T-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/2] Shmem mTHP controls and stats improvements

Hi All,

This is a small series to tidy up the way the shmem controls and stats are exposed. These patches were previously part of the series at [2], but I decided to split them out since they can go in independently.

---
This applies against today's mm-unstable (275d686abcb59). (although I had to fix a minor build bug in stackdepot.c due to MIN() not being defined in this tree). All mm selftests have been run; no regressions were observed.

Changes since v2 [2]
====================
- swpout stats are now exposed for all orders supported by anon or shmem.

[2] https://lore.kernel.org/linux-mm/[email protected]/

Thanks,
Ryan

Ryan Roberts (2):
mm: Cleanup count_mthp_stat() definition
mm: Tidy up shmem mTHP controls and stats

 include/linux/huge_mm.h |  70 +++++++++----------
 mm/huge_memory.c        | 144 +++++++++++++++++++++++++++++++---------
 mm/memory.c             |   2 -
 mm/shmem.c              |   6 --
 4 files changed, 149 insertions(+), 73 deletions(-)

--
2.43.0