linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 0/2] Small improvements to reserve_mem, take 2
@ 2026-03-04 20:14 Guilherme G. Piccoli
  2026-03-04 20:14 ` [PATCH V2 1/2] mm/memblock: Print out errors on reserve_mem parser Guilherme G. Piccoli
  2026-03-04 20:14 ` [PATCH V2 2/2] mm/memblock: Add reserve_mem debugfs info Guilherme G. Piccoli
  0 siblings, 2 replies; 5+ messages in thread
From: Guilherme G. Piccoli @ 2026-03-04 20:14 UTC (permalink / raw)
  To: linux-mm, rppt
  Cc: linux-kernel, kernel-dev, kernel, gpiccoli, Andrew Morton,
	Steven Rostedt

Hi folks, this is the 2nd version of the patchset, V1 is
here: https://lore.kernel.org/r/20260217195816.861684-1-gpiccoli@igalia.com/

So, quick summary: we are adding
(a) Error messages if "reserve_mem=" fails;

(b) A debugfs file in case "reserve_mem=" succeeds, showing name and
size of the allocation.

Use case of (a) is kinda obvious - we want to know if there are failures.
Use case for (b) are users or tools like kdumpst[0] that might want to
check if their reserve_mem allocation(s) succeeded in order to load
ramoops with proper parameters, using the reserved areas.

Thanks a lot Mike for the great review so far! Questions or comments
are welcome,

Guilherme G. Piccoli (2):
  mm/memblock: Print out errors on reserve_mem parser
  mm/memblock: Add reserve_mem debugfs info

 mm/memblock.c | 65 ++++++++++++++++++++++++++++++++++++++++++---------
 1 file changed, 54 insertions(+), 11 deletions(-)


[0] https://aur.archlinux.org/packages/kdumpst

-- 
2.50.1



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

end of thread, other threads:[~2026-03-05  1:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-04 20:14 [PATCH V2 0/2] Small improvements to reserve_mem, take 2 Guilherme G. Piccoli
2026-03-04 20:14 ` [PATCH V2 1/2] mm/memblock: Print out errors on reserve_mem parser Guilherme G. Piccoli
2026-03-05  1:14   ` SeongJae Park
2026-03-04 20:14 ` [PATCH V2 2/2] mm/memblock: Add reserve_mem debugfs info Guilherme G. Piccoli
2026-03-05  1:44   ` SeongJae Park

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