[PATCH V2 0/2] Small improvements to reserve_mem, take 2

Guilherme G. Piccoli posted 2 patches 1 month ago
mm/memblock.c | 65 ++++++++++++++++++++++++++++++++++++++++++---------
1 file changed, 54 insertions(+), 11 deletions(-)
[PATCH V2 0/2] Small improvements to reserve_mem, take 2
Posted by Guilherme G. Piccoli 1 month ago
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