Re: [PATCH 4/5] x86: shstk: Use the new common vm_mmap_shadow_stack() helper

From: Catalin Marinas

Date: Wed Feb 25 2026 - 03:12:42 EST


On Tue, Feb 24, 2026 at 07:47:14PM +0000, Edgecombe, Rick P wrote:
> On Tue, 2026-02-24 at 17:57 +0000, Catalin Marinas wrote:
> > Replace part of the x86 alloc_shstk() content with a call to
> > vm_mmap_shadow_stack().
>
> I ran it through the selftest. It would be nice to have a bit more information
> in the log, like that there is no functional change. Otherwise,

Good point, I'll add this to the other arch patches as well.

> Reviewed-by: Rick Edgecombe <rick.p.edgecombe@xxxxxxxxx>
> Tested-by: Rick Edgecombe <rick.p.edgecombe@xxxxxxxxx>

Thanks.

--
Catalin