Thread (48 messages) 48 messages, 8 authors, 2026-08-30

Re: [PATCH 2/6] userfaultfd: constify VMA parameter of userfaultfd_*() helpers

flat view

From: "Zi Yan" <ziy@nvidia.com>
Date: 2026-08-25 02:04:03
Also in: linux-fsdevel, linux-mm, linux-trace-kernel, lkml

On Sun Aug 23, 2026 at 8:17 AM EDT, Mike Rapoport (Microsoft) wrote:
userfaultfd_{missing,wp,minor,rwp}() and userfaultfd_protected() only
read the VMA.

Make their vma parameter const.

No functional change.

Assisted-by: copilot:claude-opus-5
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
---
 include/linux/userfaultfd_k.h | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
LGTM.

Reviewed-by: Zi Yan <ziy@nvidia.com>


-- 
Best Regards,
Yan, Zi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help