Skip to contentSkip to conversation

tools/memory-model: Correct the name of smp_mb__after_spinlock()

PATCH In review Palmer Dabbelt 2 participants 2 messages Apr 24, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/memory-model: Correct the name of smp_mb__after_spinlock()

From: Palmer Dabbelt <[email protected]>

This was missing one of the double _s. I only found it because I mis-typed the name myself.

---
 tools/memory-model/Documentation/explanation.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/memory-model/Documentation/explanation.txt +1 -1
index f9d610d5a1a4..5d72f3112e56 100644
@@ -2510,7 +2510,7 @@ they behave as follows:
 	smp_mb__after_atomic() orders po-earlier atomic updates and
 	the events preceding them against all po-later events;
 
-	smp_mb_after_spinlock() orders po-earlier lock acquisition
+	smp_mb__after_spinlock() orders po-earlier lock acquisition
 	events and the events preceding them against all po-later
 	events.
 
Signature · 1 line
2.31.1.498.g6c1eba8ee3d-goog
maintainer
#1 lore raw
Quoted 6 lines · Palmer Dabbelt

From: Palmer Dabbelt <[email protected]>

This was missing one of the double _s. I only found it because I mis-typed the name myself.

Good catch, and thank you, but Björn Töpel beat you to it.

dce310f2e546 ("tools/memory-model: Fix smp_mb__after_spinlock() spelling")

This one is queued in the -rcu tree for the v5.14 merge window.

But please keep the fixes coming!

Thanx, Paul

Quoted 20 lines
---
 tools/memory-model/Documentation/explanation.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/memory-model/Documentation/explanation.txt +1 -1
index f9d610d5a1a4..5d72f3112e56 100644
@@ -2510,7 +2510,7 @@ they behave as follows:
 	smp_mb__after_atomic() orders po-earlier atomic updates and
 	the events preceding them against all po-later events;
 
-	smp_mb_after_spinlock() orders po-earlier lock acquisition
+	smp_mb__after_spinlock() orders po-earlier lock acquisition
 	events and the events preceding them against all po-later
 	events.
 
Signature · 1 line
2.31.1.498.g6c1eba8ee3d-goog