[PATCH v2 3/4] sparc64: remove mm_cpumask clearing to fix kthread_use_mm race

David Miller davem at davemloft.net
Tue Sep 15 05:59:42 AEST 2020


From: Nicholas Piggin <npiggin at gmail.com>
Date: Mon, 14 Sep 2020 14:52:18 +1000

 ...
> The basic fix for sparc64 is to remove its mm_cpumask clearing code. The
> optimisation could be effectively restored by sending IPIs to mm_cpumask
> members and having them remove themselves from mm_cpumask. This is more
> tricky so I leave it as an exercise for someone with a sparc64 SMP.
> powerpc has a (currently similarly broken) example.
> 
> Signed-off-by: Nicholas Piggin <npiggin at gmail.com>

Sad to see this optimization go away, but what can I do:

Acked-by: David S. Miller <davem at davemloft.net>


More information about the Linuxppc-dev mailing list