Re: [PATCH 1/5] RISC-V: Move free_initrd_mem() to kernel/setup.c

Christoph Hellwig
2019-01-15T13:43:40Z

On Mon, Jan 07, 2019 at 09:40:43PM +0530, Anup Patel wrote:
> From: Anup Patel <anup.patel@wdc.com>
>
> We move free_initrd_mem() to kernel/setup.c so that all initrd
> related functions are in one place.
>
> Signed-off-by: Anup Patel <anup.patel@wdc.com>

Looks fine:

Reviewed-by: Christoph Hellwig <hch@lst.de>

Talking about free_initrd_mem - don't we need to call free_reserved_area
to actually release the memory?