Skip to content

mm: introduce per-order mTHP split counters

Lance Yang 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 12 repliesIn review
  2. v22 patches 11 repliesSuperseded
  3. v12 patches 23 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mm: add per-order mTHP split countersinclude/linux/huge_mm.h mm/huge_memory.c+13 -27 replies
2/2mm: add docs for per-order mTHP split countersDocumentation/admin-guide/mm/transhuge.rst+16 -45 replies

Reviews trailers per patch

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

PatchRyan RobertsBaolin WangBarry SongDavid Hildenbrand
1/2R-b R-b A-b A-b
2/2R-b R-b A-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] mm: introduce per-order mTHP split counters

Hi all,

At present, the split counters in THP statistics no longer include PTE-mapped mTHP. Therefore, we want to introduce per-order mTHP split counters to monitor the frequency of mTHP splits. This will assist developers in better analyzing and optimizing system performance.

/sys/kernel/mm/transparent_hugepage/hugepages-<size>/stats
split
split_failed
split_deferred

---

Changes since v2 [2]
====================
- mm: add per-order mTHP split counters
- Pick AB from Barry - thanks!
- Pick RB from Baolin - thanks!
- Pick RB from Ryan - thanks!
- Make things more readable (per Barry and Baolin)
- mm: add docs for per-order mTHP split counters
- Pick RB from Barry - thanks!
- Improve the doc as suggested by Ryan
- Remove the outdated note (per Ryan)

Changes since v1 [1]
====================
- mm: add per-order mTHP split counters
- Update the changelog
- Drop '_page' from mTHP split counter names (per David and Ryan)
- Store the order of the folio in a variable and reuse it later (per Bang)
- mm: add docs for per-order mTHP split counters
- Improve the doc as suggested by Ryan

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

Lance Yang (2):
mm: add per-order mTHP split counters
mm: add docs for per-order mTHP split counters

 Documentation/admin-guide/mm/transhuge.rst | 20 ++++++++++++++++----
 include/linux/huge_mm.h                    |  3 +++
 mm/huge_memory.c                           | 12 ++++++++++--
 3 files changed, 29 insertions(+), 6 deletions(-)

base-commit: ec34ecf3924f09a694e5c7d8d7e785b82f67f9f0

Signature · 1 line
2.45.2