Re: [PATCH v5 1/8] alpha: load the MMU context when switch_mm() switches the current task
From: Matt Turner
Date: Sat Oct 10 2026 - 19:32:35 EST
On Sat, Oct 10, 2026 at 04:24:27PM +0200, Magnus Lindholm wrote:
> do_shoot_lazy_tlb(), which switches to init_mm from an IPI. None explicitly
> loads the context, so the task can carry on running
> under whatever was loaded before while current->mm says otherwise.
Two small things if you touch this changelog again when applying,
neither worth a v6.
The second line above is short.
"while current->mm says otherwise" only describes kthread_use_mm(). The
other two callers change active_mm and leave current->mm NULL.
> Signed-off-by: Magnus Lindholm <linmag7@xxxxxxxxx>
> Tested-by: Matt Turner <mattst88@xxxxxxxxx>
> Reviewed-by: Matt Turner <mattst88@xxxxxxxxx>
Your Signed-off-by is last on patches 2-8 and first here.