[PATCH v3 0/2] Small improvements to reserve_mem, 3rd attempt

Guilherme G. Piccoli posted 2 patches 2 weeks, 4 days ago
mm/memblock.c                                 | 83 +++++++++++++++----
tools/testing/memblock/linux/string_helpers.h | 10 +++
2 files changed, 76 insertions(+), 17 deletions(-)
create mode 100644 tools/testing/memblock/linux/string_helpers.h
[PATCH v3 0/2] Small improvements to reserve_mem, 3rd attempt
Posted by Guilherme G. Piccoli 2 weeks, 4 days ago
Hi folks, this the 3rd iteration of this patchset.

tl; dr: we are adding here error messages in case of failures when
reserve_mem parameter is used, and also a debugfs file to show
successful reservations, with name and size as passed in the cmdline.

More details and history, please take a look at:

V2: lore.kernel.org/r/20260304203300.1414286-2-gpiccoli@igalia.com/
V1: lore.kernel.org/r/20260217195816.861684-1-gpiccoli@igalia.com/

Special thanks to Mike and SJ for the reviews =)
Thanks in advance for suggestions / reviews.
Cheers,

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

 mm/memblock.c                                 | 83 +++++++++++++++----
 tools/testing/memblock/linux/string_helpers.h | 10 +++
 2 files changed, 76 insertions(+), 17 deletions(-)
 create mode 100644 tools/testing/memblock/linux/string_helpers.h

-- 
2.50.1
Re: [PATCH v3 0/2] Small improvements to reserve_mem, 3rd attempt
Posted by Mike Rapoport 1 week, 5 days ago
On Wed, 18 Mar 2026 15:56:31 -0300, Guilherme G. Piccoli wrote:
> tl; dr: we are adding here error messages in case of failures when
> reserve_mem parameter is used, and also a debugfs file to show
> successful reservations, with name and size as passed in the cmdline.
> 
> More details and history, please take a look at:
> 
> V2: lore.kernel.org/r/20260304203300.1414286-2-gpiccoli@igalia.com/
> V1: lore.kernel.org/r/20260217195816.861684-1-gpiccoli@igalia.com/
> 
> [...]

Applied to for-next branch of memblock.git tree, thanks!

[1/2] mm/memblock: Print out errors on reserve_mem parser
      commit: 855b388182df35d2907cb2d5723270b0df3a9e6e
[2/2] mm/memblock: Add reserve_mem debugfs info
      commit: 2db6cd07805051744036235f7ee9f24a9be9e283

tree: https://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock
branch: for-next

--
Sincerely yours,
Mike.