On Thu, 2024-08-01 at 13:06 +0100, Mark Brown wrote: > Use VM_HIGH_ARCH_5 for guarded control stack pages. FYI - If you want to have more complete guard gaps, you need to do this for arm too: https://lore.kernel.org/linux-mm/20240326021656.202649-14-rick.p.edgecombe@xxxxxxxxx/ Using VM_SHADOW_STACK only gets you part of the way there.