Thread (94 messages) flat view 94 messages, 9 authors, 2023-08-01

Re: [PATCH] x86/shstk: Move arch detail comment out of core mm

From: Mark Brown <broonie@kernel.org>
Date: 2023-07-07 15:08:39
Also in: linux-arch, linux-doc, linux-mm, lkml

On Thu, Jul 06, 2023 at 04:32:48PM -0700, Rick Edgecombe wrote:
The comment around VM_SHADOW_STACK in mm.h refers to a lot of x86
specific details that don't belong in a cross arch file. Remove these
out of core mm, and just leave the non-arch details.

Since the comment includes some useful details that would be good to
retain in the source somewhere, put the arch specifics parts in
arch/x86/shstk.c near alloc_shstk(), where memory of this type is
allocated. Include a reference to the existence of the x86 details near
the VM_SHADOW_STACK definition mm.h.
Reviewed-by: Mark Brown <broonie@kernel.org>

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help