Re: [PATCH 4/4] mm: khugepaged: set to next mm direct when mm has MMF_DISABLE_THP_COMPLETELY
From: David Hildenbrand (Red Hat)
Date: Thu Dec 18 2025 - 04:38:11 EST
On 12/15/25 10:04, Vernon Yang wrote:
When an mm with the MMF_DISABLE_THP_COMPLETELY flag is detected during
scanning, directly set khugepaged_scan.mm_slot to the next mm_slot,
reduce redundant operation.
That conceptually makes sense to me. How much does that safe in practice? Do you have some performance numbers for processes with rather large number of VMAs?
--
Cheers
David