Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] alloc_tag: fixes for module tag area handling and the show_mem() report
@ 2026-12-04  1:56 Suren Baghdasaryan
  2026-12-04  1:56 ` [PATCH 1/3] alloc_tag: preserve the error when reserving a module tag area fails Suren Baghdasaryan
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Suren Baghdasaryan @ 2026-12-04  1:56 UTC (permalink / raw)
  To: akpm
  Cc: david, hao.ge, liam, vbabka, hannes, brendan.jackman, ziy,
	bigeasy, clrkwllms, rostedt, pasha.tatashin, pyyjason,
	usamaarif642, surenb, linux-mm, linux-rt-devel

This series fixes three issues in memory allocation profiling which were
reported by Sashiko.

Patches 1 and 2 fix the error handling while operating on the maple tree
which tracks the areas reserved for module allocation tags. Patch 3 fixes
the locking used by the "Memory allocations" report in __show_mem(), which
can be called from any context, including hardirq or NMI as well as on
PREEMPT_RT.

The series is based on mm-unstable.

Suren Baghdasaryan (3):
  alloc_tag: preserve the error when reserving a module tag area fails
  alloc_tag: do not leak module tag areas when removing them fails
  mm/show_mem: avoid unsafe locking when reporting allocation profiling

 mm/alloc_tag.c | 47 +++++++++++++++++++++++++++++++++++++++++++----
 mm/show_mem.c  | 11 ++++++++---
 2 files changed, 51 insertions(+), 7 deletions(-)


base-commit: e685fdf67323bade713c5f81015eda5094b3261b
-- 
2.56.1.987.g2ec0ab4260-goog



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

end of thread, other threads:[~2026-12-04  2:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-04  1:56 [PATCH 0/3] alloc_tag: fixes for module tag area handling and the show_mem() report Suren Baghdasaryan
2026-12-04  1:56 ` [PATCH 1/3] alloc_tag: preserve the error when reserving a module tag area fails Suren Baghdasaryan
2026-12-04  2:06   ` Liam R. Howlett
2026-12-04  1:56 ` [PATCH 2/3] alloc_tag: do not leak module tag areas when removing them fails Suren Baghdasaryan
2026-12-04  2:29   ` Liam R. Howlett
2026-12-04  1:56 ` [PATCH 3/3] mm/show_mem: avoid unsafe locking when reporting allocation profiling Suren Baghdasaryan
2026-12-04  2:48   ` Liam R. Howlett

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