Re: [PATCH v7 22/41] mm/mmap: Add shadow stack pages to memory accounting
From: Borislav Petkov <bp@alien8.de>
Date: 2023-03-06 18:18:52
Also in:
linux-arch, linux-doc, linux-mm, lkml
From: Borislav Petkov <bp@alien8.de>
Date: 2023-03-06 18:18:52
Also in:
linux-arch, linux-doc, linux-mm, lkml
On Mon, Mar 06, 2023 at 06:11:32PM +0000, Edgecombe, Rick P wrote:
Before this version it was open coded, but David Hildenbrand suggested this is_stack_mapping() solution. Should it be explained more, or just dropped?
Well, "adding a VM_SHADOW_STACK check in is_stack_mapping()" is what's
in the diff already and it is kinda obvious. So why write what the patch
does when one can simply look at the diff?
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette