Re: [PATCH v7 22/41] mm/mmap: Add shadow stack pages to memory accounting
From: Borislav Petkov
Date: Mon Mar 06 2023 - 13:18:53 EST
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