Re: [PATCH 1/5] mm: Introduce vm_mmap_shadow_stack() as a helper for VM_SHADOW_STACK mappings

From: Mark Brown

Date: Wed Feb 25 2026 - 07:29:36 EST


On Tue, Feb 24, 2026 at 05:57:53PM +0000, Catalin Marinas wrote:
> arm64, riscv and x86 use a similar pattern for mapping the user shadow
> stack (cloned from x86). Extract this into a helper to facilitate code
> reuse.

Thanks for following up on factoring this out. This looks good to me,
with or without the removal of the ifdefs that Rick suggested:

Reviewed-by: Mark Brown <broonie@xxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature