mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Shmem mTHP controls and stats improvements
@ 2024-08-08 11:18 Ryan Roberts
  2024-08-08 11:18 ` [PATCH v3 1/2] mm: Cleanup count_mthp_stat() definition Ryan Roberts
  2024-08-08 11:18 ` [PATCH v3 2/2] mm: Tidy up shmem mTHP controls and stats Ryan Roberts
  0 siblings, 2 replies; 14+ messages in thread
From: Ryan Roberts @ 2024-08-08 11:18 UTC (permalink / raw)
  To: Andrew Morton, Hugh Dickins, Matthew Wilcox (Oracle),
	David Hildenbrand, Barry Song, Lance Yang, Baolin Wang,
	Gavin Shan
  Cc: Ryan Roberts, linux-kernel, linux-mm

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/20240716135907.4047689-1-ryan.roberts@arm.com/

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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-09-05  7:29 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-08 11:18 [PATCH v3 0/2] Shmem mTHP controls and stats improvements Ryan Roberts
2024-08-08 11:18 ` [PATCH v3 1/2] mm: Cleanup count_mthp_stat() definition Ryan Roberts
2024-08-08 11:18 ` [PATCH v3 2/2] mm: Tidy up shmem mTHP controls and stats Ryan Roberts
2024-08-08 22:11   ` Barry Song
2024-08-09  7:46     ` Ryan Roberts
2024-08-09  8:31   ` Baolin Wang
2024-09-02  9:58     ` Ryan Roberts
2024-09-03  1:15       ` Baolin Wang
2024-09-03  1:53         ` Barry Song
2024-09-04 10:18           ` Ryan Roberts
2024-09-04 10:47     ` Ryan Roberts
2024-09-04 20:46       ` Andrew Morton
2024-09-05  7:29         ` Ryan Roberts
2024-09-05  0:45       ` Baolin Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®