Re: [PATCH 10/32] mm/khugepaged: don't wait for userfaultfd
From: Jose A. Perez de Azpillaga
Date: Sun Nov 29 2026 - 15:16:18 EST
On 11/29/26 11:06 AM, David Hildenbrand (Arm) wrote:
> khugepaged and MADV_COLLAPSE can end up triggering userfaultfd faults if
> MADV_DONTNEED + UFFDIO_WRITEPROTECT races with collapse. The fault flags
> are FAULT_FLAG_ALLOW_RETRY alone, so handle_userfault() sleeps in
> TASK_UNINTERRUPTIBLE.
>
maybe is worth mentioning that the hang also needs the range registered
with MISSING, IMHO.
other than that:
Reviewed-by: Jose A. Perez de Azpillaga <azpijr@xxxxxxxxx>
--
cheers,
jose a. p-a