Re: [PATCH v2 10/13] mm: make vm_area_desc utilise vma_flags_t only
Pedro Falcato <[email protected]>
| Newsgroups | gmane.linux.kernel.aio.general,gmane.linux.kernel,gmane.comp.video.dri.devel,gmane.comp.freedesktop.xorg.drivers.intel,gmane.linux.file-systems,gmane.comp.file-systems.ext4,gmane.linux.kernel.mm,gmane.linux.kernel.lsm |
|---|---|
| Message-ID | <224p7l6o6vsve6uv654wbrhmlo6lxbvzh6hm33fsoujhftuunf@zhf66q54ldlc> |
On Thu, Jan 22, 2026 at 04:06:19PM +0000, Lorenzo Stoakes wrote: > Now we have eliminated all uses of vm_area_desc->vm_flags, eliminate this > field, and have mmap_prepare users utilise the vma_flags_t > vm_area_desc->vma_flags field only. > > As part of this change we alter is_shared_maywrite() to accept a > vma_flags_t parameter, and introduce is_shared_maywrite_vm_flags() for use > with legacy vm_flags_t flags. > > We also update struct mmap_state to add a union between vma_flags and > vm_flags temporarily until the mmap logic is also converted to using > vma_flags_t. > > Also update the VMA userland tests to reflect this change. > > Signed-off-by: Lorenzo Stoakes <[email protected]> Reviewed-by: Pedro Falcato <[email protected]> -- Pedro -- To unsubscribe, send a message with 'unsubscribe linux-aio' in the body to [email protected]. For more info on Linux AIO, see: http://www.kvack.org/aio/ Don't email: <a href=mailto:"[email protected]">[email protected]</a>