Re: [PATCH] memblock: Introduce memblock_reserve_node()

From: Mike Rapoport
Date: Sun Jun 25 2023 - 01:09:43 EST


On Sat, Jun 24, 2023 at 10:46:22AM +0800, Yajun Deng wrote:
> It only returns address now in memblock_find_in_range_node(), we can add a
> parameter pointing to integer for node id of the range, which can be used
> to pass the node id to the new reserve region.
>
> Introduce memblock_reserve_node() so that the node id can be passed to
> the reserve region in memblock_alloc_range_nid().
>
> Signed-off-by: Yajun Deng <yajun.deng@xxxxxxxxx>

What problem does this patch solve?

--
Sincerely yours,
Mike.