On 2025/9/10 10:44, Yafang Shao wrote:
Since a task with MMF_DISABLE_THP_COMPLETELY cannot use THP, remove it from the khugepaged_mm_slot to stop khugepaged from processing it. After this change, the following semantic relationship always holds: MMF_VM_HUGEPAGE is set == task is in khugepaged mm_slot MMF_VM_HUGEPAGE is not set == task is not in khugepaged mm_slot Signed-off-by: Yafang Shao <laoar.shao@xxxxxxxxx>
Acked-by: Lance Yang <lance.yang@xxxxxxxxx> Cheers, Lance