Re: [PATCH v2 01/13] mm: introduce vma_flags_can_grow() and vma_can_grow()
"Vlastimil Babka (SUSE)" <[email protected]> Wed, 22 Jul 2026 15:26:25 +0200
| Newsgroups | gmane.comp.freedesktop.xorg.nouveau,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.drivers.freedreno,gmane.linux.ports.arm.rockchip,gmane.linux.ports.tegra,gmane.comp.emulators.xen.devel,gmane.linux.sound |
|---|---|
| Message-ID | <[email protected]> |
On 7/11/26 20:44, Lorenzo Stoakes wrote: > These test whether the VMA has stack semantics, i.e. is able to grow > upwards or downwards depending on the architecture. > > In order to account for arches which do not support upward-growing stacks, > introduce VMA_GROWSUP whose definition depends on the architecture > supporting it, and use vma_flags_test_single_mask() in vma_flags_can_grow() > to account for this. > > No functional change intended. > > Reviewed-by: Zi Yan <[email protected]> > Reviewed-by: Lance Yang <[email protected]> > Signed-off-by: Lorenzo Stoakes <[email protected]> Reviewed-by: Vlastimil Babka (SUSE) <[email protected]>