mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] tools/mm/slabinfo: report sheaf and barn statistics
@ 2026-09-27  5:57 Seongjun Hong
  2026-09-27  5:57 ` [PATCH 1/2] tools/mm/slabinfo: refactor slab attribute reading Seongjun Hong
  2026-09-27  5:57 ` [PATCH 2/2] tools/mm/slabinfo: report percpu sheaves and barn statistics Seongjun Hong
  0 siblings, 2 replies; 5+ messages in thread
From: Seongjun Hong @ 2026-09-27  5:57 UTC (permalink / raw)
  To: Vlastimil Babka, Harry Yoo, Andrew Morton, Hao Li,
	Christoph Lameter, David Rientjes, Roman Gushchin
  Cc: linux-mm, linux-kernel, Seongjun Hong

Since commit 2d517aa09bbc ("slab: add opt-in caching layer of percpu
sheaves"), kernel exposes sheaf and barn statistics through sysfs but
slabinfo did not utilize this information. Make slabinfo report
kmem_cache statistics including sheaf and barn counters.

Signed-off-by: Seongjun Hong <hsj0512@snu.ac.kr>
---
Seongjun Hong (2):
      tools/mm/slabinfo: refactor slab attribute reading
      tools/mm/slabinfo: report percpu sheaves and barn statistics

 tools/mm/slabinfo.c | 303 ++++++++++++++++++++++++++++++++--------------------
 1 file changed, 189 insertions(+), 114 deletions(-)
---
base-commit: 9b87fdc9af2fbfcdb5c24a64139685ef80f6573f
change-id: 20260921-tools-mm-update-slabinfo-8eab37191831

Best regards,
-- 
Best regards,
Seongjun Hong


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

end of thread, other threads:[~2026-09-28 16:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-27  5:57 [PATCH 0/2] tools/mm/slabinfo: report sheaf and barn statistics Seongjun Hong
2026-09-27  5:57 ` [PATCH 1/2] tools/mm/slabinfo: refactor slab attribute reading Seongjun Hong
2026-09-28 15:52   ` Harry Yoo
2026-09-27  5:57 ` [PATCH 2/2] tools/mm/slabinfo: report percpu sheaves and barn statistics Seongjun Hong
2026-09-28 16:00   ` Harry Yoo

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®