[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <bd5842a92bd340799a74063f8da83d96@amazon.de>
Date: Fri, 25 Apr 2025 10:02:12 +0000
From: "Gutierrez Cantu, Bernardo" <bercantu@...zon.de>
To: "yajun.deng@...ux.dev" <yajun.deng@...ux.dev>
CC: "akpm@...ux-foundation.org" <akpm@...ux-foundation.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-mm@...ck.org" <linux-mm@...ck.org>, "lkp@...el.com" <lkp@...el.com>,
"rppt@...nel.org" <rppt@...nel.org>, "dwmw2@...radead.org"
<dwmw2@...radead.org>
Subject: Re: [PATCH v4] mm: pass nid to reserve_bootmem_region()
> + if (memblock_is_nomap(region))
> + reserve_bootmem_region(start, end, nid);
> +
> + memblock_set_node(start, end, &memblock.reserved, nid);
memblock_set_node() receives a `base` and a `size` argument. Passing `end` would
cause us to set the node id on an incorrect range. Will send a fixup patch
shortly...
Best regards
Bernardo
Amazon Web Services Development Center Germany GmbH
Krausenstr. 38
10117 Berlin
Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss
Eingetragen am Amtsgericht Charlottenburg unter HRB 257764 B
Sitz: Berlin
Ust-ID: DE 365 538 597
Powered by blists - more mailing lists