Skip to contentSkip to conversation

tools/memory-model: Fix smp_mb__after_spinlock() spelling

PATCH In review Björn Töpel 4 participants 7 messages Mar 5, 2021

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

PATCH 1/1 tools/memory-model: Fix smp_mb__after_spinlock() spelling

From: Björn Töpel <[email protected]>

A misspelled invokation of git-grep, revealed that smp_mb__after_spinlock() was misspelled in explaination.txt.

Add missing "_" to smp_mb__after_spinlock().

Fixes 1c27b644c0fd ("Automate memory-barriers.txt; provide Linux-kernel memory model")
---
 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.
 

base-commit: 7f58c0fb9238abaa3997185ceec319201b6f5a94

Signature · 1 line
2.27.0
maintainer
#1 lore raw
Quoted 9 lines · Björn Töpel

From: Björn Töpel <[email protected]>

A misspelled invokation of git-grep, revealed that smp_mb__after_spinlock() was misspelled in explaination.txt.

Add missing "_" to smp_mb__after_spinlock().

Fixes 1c27b644c0fd ("Automate memory-barriers.txt; provide Linux-kernel memory model")

Good catch! Applied, thank you!

Thanx, Paul

Quoted 22 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.
 

base-commit: 7f58c0fb9238abaa3997185ceec319201b6f5a94

Signature · 1 line
2.27.0
#3 lore raw
Quoted 9 lines · Alan Stern
Quoted 3 lines · Björn Töpel

From: Björn Töpel <[email protected]>

A misspelled invokation of git-grep, revealed that

-------------------^

Smetimes my brain is a little slow... Do you confirm that this is a joke?

I wish, Alan. I wish.

Looks like I can only spel function names correctly.

Have a nice weekend!
Björn

Quoted 2 lines

Alan

maintainer
#4 lore raw
Quoted 7 lines · Björn Töpel
Quoted 6 lines · Alan Stern
Quoted 3 lines · Björn Töpel

From: Björn Töpel <[email protected]>

A misspelled invokation of git-grep, revealed that

-------------------^

Quoted 7 lines
Quoted 3 lines

Smetimes my brain is a little slow... Do you confirm that this is a joke?

I wish, Alan. I wish.

Looks like I can only spel function names correctly.

Heh! I missed that one completely. Please see below for a wortschmied commit.

Thanx, Paul

------------------------------------------------------------------------

commit 1c737ce34715db9431f6b034f92dbf09d954126d

Author: Björn Töpel <[email protected]>
Date:   Fri Mar 5 11:28:23 2021 +0100

tools/memory-model: Fix smp_mb__after_spinlock() spelling

A misspelled git-grep regex revealed that smp_mb__after_spinlock() was misspelled in explanation.txt.

This commit adds the missing "_" to smp_mb__after_spinlock().

Fixes 1c27b644c0fd ("Automate memory-barriers.txt; provide Linux-kernel memory model")
[ paulmck: Apply Alan Stern commit-log feedback. ]
tools/memory-model/Documentation/explanation.txt +1 -1
index f9d610d..5d72f31 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.
 
maintainer
#5 lore raw
Quoted 27 lines · Paul E. McKenney
Quoted 7 lines · Björn Töpel
Quoted 6 lines · Alan Stern
Quoted 3 lines · Björn Töpel

From: Björn Töpel <[email protected]>

A misspelled invokation of git-grep, revealed that

-------------------^

Quoted 7 lines
Quoted 3 lines

Smetimes my brain is a little slow... Do you confirm that this is a joke?

I wish, Alan. I wish.

Looks like I can only spel function names correctly.

Heh! I missed that one completely. Please see below for a wortschmied commit.

Thanx, Paul

------------------------------------------------------------------------

commit 1c737ce34715db9431f6b034f92dbf09d954126d

Author: Björn Töpel <[email protected]>
Date:   Fri Mar 5 11:28:23 2021 +0100
Quoted 6 lines

tools/memory-model: Fix smp_mb__after_spinlock() spelling

A misspelled git-grep regex revealed that smp_mb__after_spinlock() was misspelled in explanation.txt.

This commit adds the missing "_" to smp_mb__after_spinlock().

Strictly speaking, the commit adds a missing "_" to smp_mb_after_spinlock(). If it added anything to smp_mb__after_spinlock(), the result would be incorrect.

How about just:

A misspelled git-grep regex revealed that smp_mb__after_spinlock() was misspelled in explanation.txt. This commit adds the missing "_".

Alan

maintainer
#6 lore raw
Quoted 35 lines · Alan Stern
Quoted 27 lines · Paul E. McKenney
Quoted 7 lines · Björn Töpel
Quoted 6 lines · Alan Stern
Quoted 3 lines · Björn Töpel

From: Björn Töpel <[email protected]>

A misspelled invokation of git-grep, revealed that

-------------------^

Quoted 7 lines
Quoted 3 lines

Smetimes my brain is a little slow... Do you confirm that this is a joke?

I wish, Alan. I wish.

Looks like I can only spel function names correctly.

Heh! I missed that one completely. Please see below for a wortschmied commit.

Thanx, Paul

------------------------------------------------------------------------

commit 1c737ce34715db9431f6b034f92dbf09d954126d

Author: Björn Töpel <[email protected]>
Date:   Fri Mar 5 11:28:23 2021 +0100
Quoted 6 lines

tools/memory-model: Fix smp_mb__after_spinlock() spelling

A misspelled git-grep regex revealed that smp_mb__after_spinlock() was misspelled in explanation.txt.

This commit adds the missing "_" to smp_mb__after_spinlock().

Quoted 8 lines

Strictly speaking, the commit adds a missing "_" to smp_mb_after_spinlock(). If it added anything to smp_mb__after_spinlock(), the result would be incorrect.

How about just:

A misspelled git-grep regex revealed that smp_mb__after_spinlock() was misspelled in explanation.txt. This commit adds the missing "_".

Very good, updated as you suggest, thank you!

Thanx, Paul