Skip to content

couple of sparc 32 mm fixes

Nicholas Piggin sparclinux 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2sparc32: remove mm_cpumask clearing to fix kthread_use_mm racearch/sparc/mm/srmmu.c+1 -50 replies
2/2sparc32: fix mm_cpumask maintenance causing missing TLB flushingarch/sparc/include/asm/switch_to_32.h arch/sparc/mm/srmmu.c+3 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] couple of sparc 32 mm fixes

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(-)
Signature · 1 line
2.23.0