[PATCH 0/5] mm: arch/shstk: Common shadow stack mapping helper and VM_NOHUGEPAGE
Catalin Marinas
catalin.marinas at arm.com
Wed Feb 25 00:08:41 PST 2026
Hi Deepak,
On Tue, Feb 24, 2026 at 04:06:13PM -0800, Deepak Gupta wrote:
> On Tue, Feb 24, 2026 at 05:57:52PM +0000, Catalin Marinas wrote:
> > arm64, riscv and x86 all implement shadow stack support and use a
> > similar pattern for mapping the user shadow stack (originally cloned
> > from x86). Extract this common pattern into a shared helper -
> > vm_mmap_shadow_stack().
[...]
> FWIW, I applied your patches on v7.0-rc1 and risc-v cfi kselftest passes
[...]
> So you can tag tested by for risc-v.
That's great, thanks!
--
Catalin
More information about the linux-arm-kernel
mailing list