Skip to content

Getting rid of smp_mb__before_spinlock

Peter Zijlstra linux-snps-arc lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4mm: Rework {set,clear,mm}_tlb_flush_pending()include/linux/mm_types.h mm/huge_memory.c mm/migrate.c+47 -129 replies
2/4overlayfs: Remove smp_mb__before_spinlock() usagefs/overlayfs/readdir.c+2 -20 replies
3/4locking: Introduce smp_mb__after_spinlock().arch/arm64/include/asm/spinlock.h arch/powerpc/include/asm/spinlock.h include/linux/atomic.h +2 more+46 -22 replies
4/4locking: Remove smp_mb__before_spinlock()Documentation/memory-barriers.txt Documentation/translations/ko_KR/memory-barriers.txt arch/arm64/include/asm/spinlock.h +3 more+13 -510 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchWill Deacon
1/4A-b
2/4
3/4A-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH -v2 0/4] Getting rid of smp_mb__before_spinlock

This series removes two smp_mb__before_spinlock() (ab)users and converts the scheduler to use smp_mb__after_spinlock(), which provides more guarantees with the same amount of barriers.