Re: [PATCH V2 1/2] mm/memblock: Print out errors on reserve_mem parser

From: Guilherme G. Piccoli

Date: Fri Mar 13 2026 - 17:02:49 EST


On 04/03/2026 22:14, SeongJae Park wrote:
> On Wed, 4 Mar 2026 17:14:10 -0300 "Guilherme G. Piccoli" <gpiccoli@xxxxxxxxxx> wrote:
>
>> The parsing of kernel parameter "reserve_mem=" is subject to
>> multiple failures, like duplicate naming, malformed expression
>> or even lack of available memory. Right now, all of these fail
>> silently. Let's add some messages so the kernel log can provide
>> useful information in case of failures.
>
> Makes sense to me.
>
>>
>> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
>> Cc: Mike Rapoport <rppt@xxxxxxxxxx>
>> Cc: Steven Rostedt <rostedt@xxxxxxxxxxx>
>> Signed-off-by: Guilherme G. Piccoli <gpiccoli@xxxxxxxxxx>
>
> Reviewed-by: SeongJae Park <sj@xxxxxxxxxx>
>

Hi SJ! thanks a lot for the review, I'll resubmit with your tag and
fixing the unnecessary blank line.
Cheers,


Guilherme