Re: [RFC PATCH 4/8] thp: Add thp_get_unmapped_area_vmflags()

From: Kirill A. Shutemov
Date: Fri Feb 16 2024 - 08:00:20 EST


On Thu, Feb 15, 2024 at 03:13:28PM -0800, Rick Edgecombe wrote:
> +unsigned long thp_get_unmapped_area(struct file *filp, unsigned long addr,
> + unsigned long len, unsigned long pgoff, unsigned long flags)
> +{
> + return thp_get_unmapped_area_vmflags(filp, addr, len, pgoff, flags, 0);
> }
> EXPORT_SYMBOL_GPL(thp_get_unmapped_area);

Again, static inline should be fine.

--
Kiryl Shutsemau / Kirill A. Shutemov