Re: [PATCH 1/5] mm: Deduplicate mm_get_unmapped_area()

From: Zi Yan
Date: Fri Jun 13 2025 - 11:00:40 EST


On 13 Jun 2025, at 9:41, Peter Xu wrote:

> Essentially it sets vm_flags==0 for mm_get_unmapped_area_vmflags(). Use
> the helper instead to dedup the lines.
>
> Signed-off-by: Peter Xu <peterx@xxxxxxxxxx>
> ---
> mm/mmap.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
Reviewed-by: Zi Yan <ziy@xxxxxxxxxx>

Best Regards,
Yan, Zi