On Wed, Sep 05, 2018 at 05:21:37PM -0600, Jason Gunthorpe wrote: > Instead hold on to the actual mm directly inside the umme via mmgrab() > and mmdrop(), just like mmu_notifiers already does internally. I coded up a series to do this, and more: https://github.com/jgunthorpe/linux/commits/tgid_removal I'll try to test it later, but it is the general idea.. ucontext->tgid is an abomination and needs to be deleted. Have to do some testing on it.. Jason