[PATCH] um: clean up mm creation

Johannes Berg johannes at sipsolutions.net
Fri Sep 22 12:30:35 PDT 2023


On Fri, 2023-09-22 at 13:16 +0200, Johannes Berg wrote:
> Note that this fixes what seems like an issue - we look
> at current->mm when we copy, but that doesn't seem right
> in the case of clone() without copying the MM. This is
> probably saved by the forced flush later right now.
> 

After finding flush_thread(), that's clearly not true ;-)

But that basically leaves the only thing slower here the
start_userspace() itself, i.e. basically userspace_tramp()?

johannes



More information about the linux-um mailing list