This patch tries to address the case when we do switch to init_mm and back. Do you still have objections to the approach in this patch to save the last active mm before switching to init_mm?
how do you know the last active mm did not go away and started a new process with new content? (other than taking a reference which has other side effects)