On Tue, Apr 6, 2021 at 8:06 PM wrote:
>
> From: Yanfei Xu
>
> We could check MMF_DISABLE_THP ahead of iterating over all of vma.
> Otherwise if some mm_struct contain a large number of vma, there will
> be amounts meaningless cpu cycles cost.
Reviewed-by: Yang Shi
>
> Signed-off-by: Yanfei Xu
From: Yanfei Xu
We could check MMF_DISABLE_THP ahead of iterating over all of vma.
Otherwise if some mm_struct contain a large number of vma, there will
be amounts meaningless cpu cycles cost.
Signed-off-by: Yanfei Xu
---
mm/khugepaged.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/mm
2 matches
Mail list logo