Re: [PATCH v3 11/23] mm/vma: introduce [vma_flags,legacy]_to_[legacy,vma_flags]() helpers
"Vlastimil Babka (SUSE)" <[email protected]> Thu, 19 Mar 2026 18:38:43 +0100
| Newsgroups | org.kernel.vger.linux-hexagon,dev.linux.lists.loongarch,org.infradead.lists.linux-riscv,org.infradead.lists.linux-snps-arc,org.infradead.lists.linux-um,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-kernel,org.kernel.vger.linux-mips,org.kernel.vger.linux-s390,org.kernel.vger.selinux,org.kvack.linux-mm,org.ozlabs.lists.linuxppc-dev |
|---|---|
| Message-ID | <[email protected]> |
On 3/18/26 16:50, Lorenzo Stoakes (Oracle) wrote: > While we are still converting VMA flags from vma_flags_t to vm_flags_t, > introduce helpers to convert between the two to allow for iterative > development without having to 'change the world' in a single commit'. > > Also update VMA flags tests to reflect the change. > > Finally, refresh vma_flags_overwrite_word(), > vma_flag_overwrite_word_once(), vma_flags_set_word() and > vma_flags_clear_word() in the VMA tests to reflect current kernel > implementations - this should make no functional difference, but keeps the > logic consistent between the two. > > Signed-off-by: Lorenzo Stoakes (Oracle) <[email protected]> Acked-by: Vlastimil Babka (SUSE) <[email protected]>