Thread (49 messages) 49 messages, 9 authors, 2026-08-30

Re: [PATCH 5/6] userfaultfd: decouple fault reason from VMA flags

flat view

From: Muchun Song <muchun.song@linux.dev>
Date: 2026-08-24 08:13:04
Also in: linux-doc, linux-fsdevel, linux-mm, lkml

On Aug 23, 2026, at 20:17, Mike Rapoport (Microsoft) [off-list ref] wrote:

Introduce enum uffd_reason to define reasons for user faults rather than
overload VM_UFFD_* VMA flags for that.

Using a dedicated enum makes the code clearer and decoupling the fault
reason from VMA flags clears the way for moving the uffd mode bits out
of VMA namespace.

No functional change.

Assisted-by: copilot:claude-opus-4.6
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Acked-by: Muchun Song <muchun.song@linux.dev> # for HugeTLB.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help