Re: [PATCH v2 00/13] mm: convert more vm_flags_t users to vma_flags_t

From: Andrew Morton

Date: Mon Jul 13 2026 - 22:25:52 EST


On Sat, 11 Jul 2026 19:44:57 +0100 Lorenzo Stoakes <ljs@xxxxxxxxxx> wrote:

> This series makes further progress in converting usage of the deprecated
> vm_flags_t type to its replacement, vma_flags_t.
>
> It focuses on mm, though updates some users of mm APIs also.
>
> It updates:
>
> * The core do_mmap() code path for VMA mapping.
> * Unmapped area logic.
> * The usage of mm->def_vma_flags.
> * VMA page protection bit logic.
> * General usage of VMA flags in core mm code, mlock, mprotect, mremap.

Added to mm-new, thanks.

And oh my, what a lot of pre-existing issues:
https://sashiko.dev/#/patchset/20260711-b4-vma-flags-mm-v2-0-0fa2357d5431@xxxxxxxxxx