I was able to test patch 2 in SMP qemu and verify there were cases where a cpu's active_mm does not have that CPU set in the mm_cpumask before the patch, and do not observe it afterwards. I haven't observed any actual corruption from the bugs, but I didn't stress it much, and only what qemu can do. Thanks, Nick Nicholas Piggin (2): sparc32: remove mm_cpumask clearing to fix kthread_use_mm race sparc32: fix mm_cpumask maintenance causing missing TLB flushing arch/sparc/include/asm/switch_to_32.h | 1 - arch/sparc/mm/srmmu.c | 9 ++++----- 2 files changed, 4 insertions(+), 6 deletions(-) -- 2.23.0