Re: [PATCH 3/5] mm: Rename __thp_get_unmapped_area to mm_get_unmapped_area_aligned
From: Peter Xu
Date: Fri Jun 13 2025 - 14:45:51 EST
On Fri, Jun 13, 2025 at 11:19:30AM -0400, Zi Yan wrote:
> > -static unsigned long __thp_get_unmapped_area(struct file *filp,
> > +unsigned long mm_get_unmapped_area_aligned(struct file *filp,
> > unsigned long addr, unsigned long len,
> > loff_t off, unsigned long flags, unsigned long size,
>
> Since you added aligned suffix, renaming size to alignment might
> help improve readability.
I'll use "align" per Jason's suggestion, assuming it's ok and shorter.
>
> Otherwise, Reviewed-by: Zi Yan <ziy@xxxxxxxxxx>
I'll take this though, thanks Zi.
--
Peter Xu