Re: [PATCH v2 1/2] mmap: remove inline of vm_unmapped_area

From: Andrew Morton
Date: Thu Mar 12 2020 - 23:03:16 EST


On Fri, 13 Mar 2020 10:14:19 +0900 Jaewon Kim <jaewon31.kim@xxxxxxxxxxx> wrote:

> In prepration for next patch remove inline of vm_unmapped_area and move
> code to mmap.c. There is no logical change.
>
> Also remove unmapped_area[_topdown] out of mm.h, there is no code
> calling to them.
>

Patches seem reasonable.

> -extern unsigned long unmapped_area(struct vm_unmapped_area_info *info);
> -extern unsigned long unmapped_area_topdown(struct vm_unmapped_area_info *info);

I believe these can now be made static to mmap.c