Re: [PATCH v7 22/41] mm/mmap: Add shadow stack pages to memory accounting

Borislav Petkov
2023-03-06T18:18:45Z

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.