[PATCH V2 0/2] Small improvements to reserve_mem, take 2
From: Guilherme G. Piccoli
Date: Wed Mar 04 2026 - 15:34:14 EST
Hi folks, this is the 2nd version of the patchset, V1 is
here: https://lore.kernel.org/r/20260217195816.861684-1-gpiccoli@xxxxxxxxxx/
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