Re: [PATCH v2 08/13] mm: introduce vma_get_page_prot() and use it
"Vlastimil Babka (SUSE)" <[email protected]> Wed, 22 Jul 2026 17:42:49 +0200
| Newsgroups | gmane.comp.freedesktop.xorg.drivers.freedreno,gmane.linux.kernel.mm,gmane.linux.kernel,gmane.linux.ports.mips,gmane.linux.kernel.aio.general,gmane.linux.file-systems,gmane.linux.ports.ppc64.devel,gmane.comp.video.dri.devel,gmane.linux.kernel.samsung-soc,gmane.comp.freedesktop.xorg.drivers.intel,gmane.linux.ports.arm.msm,gmane.comp.freedesktop.xorg.nouveau,gmane.linux.ports.tegra,gmane.comp.emulators.xen.devel,gmane.linux.sound |
|---|---|
| Message-ID | <[email protected]> |
On 7/11/26 20:45, Lorenzo Stoakes wrote: > There's a large number of vm_get_page_prot(vma->vm_flags) invocations. Make > life easier by introducing vma_get_page_prot() parameterised by the VMA. > > This also makes converting vm_get_page_prot() to vma_flags_t easier. > > Also update the userland VMA tests to reflect the change. > > No functional change intended. > > Acked-by: Zi Yan <[email protected]> > Acked-by: Jani Nikula <[email protected]> # for i915 > Reviewed-by: Thomas Zimmermann <[email protected]> # for DRM > Signed-off-by: Lorenzo Stoakes <[email protected]> Reviewed-by: Vlastimil Babka (SUSE) <[email protected]>