Re: [PATCH v8 mm-new 03/12] mm: thp: remove vm_flags parameter from thp_vma_allowable_order()
From: Usama Arif
Date: Fri Sep 26 2025 - 10:54:56 EST
On 26/09/2025 10:33, Yafang Shao wrote:
> Because all calls to thp_vma_allowable_order() pass vma->vm_flags as the
> vma_flags argument, we can remove the parameter and have the function
> access vma->vm_flags directly.
>
> Signed-off-by: Yafang Shao <laoar.shao@xxxxxxxxx>
> ---
> fs/proc/task_mmu.c | 3 +--
> include/linux/huge_mm.h | 16 ++++++++--------
> mm/huge_memory.c | 4 ++--
> mm/khugepaged.c | 10 +++++-----
> mm/memory.c | 11 +++++------
> mm/shmem.c | 2 +-
> 6 files changed, 22 insertions(+), 24 deletions(-)
>
Acked-by: Usama Arif <usamaarif642@xxxxxxxxx>