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

Re: [PATCH 6/6] userfaultfd: collapse VM_UFFD_{MISSING,WP,MINOR,RWP} into single VM_UFFD

flat view

From: "David Hildenbrand (Arm)" <david@kernel.org>
Date: 2026-08-27 15:19:41
Also in: linux-doc, linux-fsdevel, linux-mm, lkml

On 8/27/26 13:18, Lorenzo Stoakes (ARM) wrote:
On Thu, Aug 27, 2026 at 12:16:32PM +0100, Lorenzo Stoakes (ARM) wrote:
quoted
So actually you're increasing by a cacheline and increasing the VMA size by
64 bytes, i.e. 1/3, which is unacceptable obviously.

Maybe there's something that can be done with:

		/* forced alignments: 1 */

Perhaps? But that looks potentially ugly.
I say elsewhere (or think I do) but to highlight - I think probably we could fix
this by putting the flags in the low bits of vm_uffd_state.ctx?
if that's possible that would be clearly preferable memory-wise.

-- 
Cheers,

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