[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240618120627.2002810a@rorschach.local.home>
Date: Tue, 18 Jun 2024 12:06:27 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Zhengyejian <zhengyejian@...weicloud.com>
Cc: linux-kernel@...r.kernel.org, linux-trace-kernel@...r.kernel.org, Masami
Hiramatsu <mhiramat@...nel.org>, Mark Rutland <mark.rutland@....com>,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>, Andrew Morton
<akpm@...ux-foundation.org>, Vincent Donnefort <vdonnefort@...gle.com>,
Joel Fernandes <joel@...lfernandes.org>, Daniel Bristot de Oliveira
<bristot@...hat.com>, Ingo Molnar <mingo@...nel.org>, Peter Zijlstra
<peterz@...radead.org>, suleiman@...gle.com, Thomas Gleixner
<tglx@...utronix.de>, Vineeth Pillai <vineeth@...byteword.org>, Youssef
Esmat <youssefesmat@...gle.com>, Beau Belgrave <beaub@...ux.microsoft.com>,
Alexander Graf <graf@...zon.com>, Baoquan He <bhe@...hat.com>, Borislav
Petkov <bp@...en8.de>, "Paul E. McKenney" <paulmck@...nel.org>, David
Howells <dhowells@...hat.com>, Mike Rapoport <rppt@...nel.org>, "Guilherme
G. Piccoli" <gpiccoli@...lia.com>
Subject: Re: [PATCH v6 1/2] mm/memblock: Add "reserve_mem" to reserved named
memory at boot up
On Tue, 18 Jun 2024 20:55:17 +0800
Zhengyejian <zhengyejian@...weicloud.com> wrote:
> > + start = memblock_phys_alloc(size, align);
> > + if (!start)
> > + return -ENOMEM;
> > +
> > + reserved_mem_add(start, size, name);
> > +
> > + return 0;
>
> Hi, steve, should here return 1 ? Other __setup functions
> return 1 when it success.
Ug, you're correct.
Mike, want me to send a v7?
-- Steve
Powered by blists - more mailing lists