Re: [PATCH RFT v5 4/7] fork: Add shadow stack support to clone3()

From: Edgecombe, Rick P
Date: Fri Feb 09 2024 - 19:55:40 EST


On Fri, 2024-02-09 at 12:18 -0800, Rick Edgecombe wrote:
>
> So, don't we want to consume the token on the *new* task's MM, which
> was already duplicated but still unmapped? In which case I think the
> other arch's would need to GUP regardless of the existence of shadow
> stack atomic ops.

I mean for the !CLONE_VM case.