path: root/Documentation/memory-barriers.txt
diff options
authorAndrea Parri <>2018-07-16 11:06:02 -0700
committerIngo Molnar <>2018-07-17 09:30:33 +0200
commit3d85b2703783636366560c94842affd8608ec9d1 (patch)
tree5a4713999d2c9020bf74ffbff3be78ea0dc4dde2 /Documentation/memory-barriers.txt
parent76e079fefc8f62bd9b2cd2950814d1ee806e31a5 (diff)
locking/spinlock, sched/core: Clarify requirements for smp_mb__after_spinlock()
There are 11 interpretations of the requirements described in the header comment for smp_mb__after_spinlock(): one for each LKMM maintainer, and one currently encoded in the Cat file. Stick to the latter (until a more satisfactory solution is available). This also reworks some snippets related to the barrier to illustrate the requirements and to link them to the idioms which are relied upon at its call sites. Suggested-by: Boqun Feng <> Signed-off-by: Andrea Parri <> Signed-off-by: Paul E. McKenney <> Acked-by: Peter Zijlstra <> Cc: Linus Torvalds <> Cc: Thomas Gleixner <> Cc: Will Deacon <> Cc: Cc: Cc: Cc: Cc: Cc: Cc: Cc: Link: Signed-off-by: Ingo Molnar <>
Diffstat (limited to 'Documentation/memory-barriers.txt')
0 files changed, 0 insertions, 0 deletions