Re: [PATCH 1/5] RISC-V: Move free_initrd_mem() to kernel/setup.c
From: Christoph Hellwig
Date: Tue Jan 15 2019 - 08:43:40 EST
On Mon, Jan 07, 2019 at 09:40:43PM +0530, Anup Patel wrote:
> From: Anup Patel <anup.patel@xxxxxxx>
>
> 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@xxxxxxx>
Looks fine:
Reviewed-by: Christoph Hellwig <hch@xxxxxx>
Talking about free_initrd_mem - don't we need to call free_reserved_area
to actually release the memory?