Skip to contentSkip to conversation

fix grammar on false-sharing.rst

PATCH Superseded Vishnu Sanal T 2 participants 4 messages Oct 2, 2024 – Oct 14, 2024 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix grammar on false-sharing.rst

fix the grammar mistakes on kernel-hacking/false-sharing.rst

---
 Documentation/kernel-hacking/false-sharing.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/kernel-hacking/false-sharing.rst +3 -3
index 122b0e124656..ad7cb60bef29 100644
@@ -196,9 +196,9 @@ the hotspot switches to a new place.
 
 Miscellaneous
 =============
-One open issue is that kernel has an optional data structure
-randomization mechanism, which also randomizes the situation of cache
-line sharing of data members.
+One open issue is that the kernel has an optional data structure
+randomization mechanism, which also randomize the situation of cache
+line sharing among data members.
 
 
 .. [1] https://en.wikipedia.org/wiki/False_sharing
Signature · 1 line
2.46.2
maintainer
#1 lore raw
Quoted 12 lines · Vishnu Sanal T

fix the grammar mistakes on kernel-hacking/false-sharing.rst

---
 Documentation/kernel-hacking/false-sharing.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/kernel-hacking/false-sharing.rst +0 -0
index 122b0e124656..ad7cb60bef29 100644

Documentation/kernel-hacking/false-sharing.rst the hotspot switches to a new place. · line 199

Quoted 7 lines
Documentation/kernel-hacking/false-sharing.rst +1 -3
@@ -196,9 +196,9 @@ the hotspot switches to a new place.
 
 Miscellaneous
 =============
-One open issue is that kernel has an optional data structure
-randomization mechanism, which also randomizes the situation of cache
-line sharing of data members.
+One open issue is that the kernel has an optional data structure

So here you are fixing a problem, which is good

Documentation/kernel-hacking/false-sharing.rst the hotspot switches to a new place. · line 200

Quoted 1 line
Documentation/kernel-hacking/false-sharing.rst +1 -0
+randomization mechanism, which also randomize the situation of cache

But here you are introducing a new one, which is a bit less so....?

Documentation/kernel-hacking/false-sharing.rst the hotspot switches to a new place. · line 201

Quoted 1 line
Documentation/kernel-hacking/false-sharing.rst +1 -0
+line sharing among data members.

Thanks,

jon

#2 lore raw

PATCH v2 1/1 fix grammar on false-sharing.rst

In reply to Vishnu Sanal T

Fix slight grammar mistake on kernel-hacking/false-sharing.rst

---
Changes in v2:

- revert inadverdent mistake introduced on the word "randomizes"

---
 Documentation/kernel-hacking/false-sharing.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/kernel-hacking/false-sharing.rst +2 -2
index 122b0e124656..eb0596734e55 100644
@@ -196,9 +196,9 @@ the hotspot switches to a new place.
 
 Miscellaneous
 =============
-One open issue is that kernel has an optional data structure
+One open issue is that the kernel has an optional data structure
 randomization mechanism, which also randomizes the situation of cache
-line sharing of data members.
+line sharing among data members.
 
 
 .. [1] https://en.wikipedia.org/wiki/False_sharing
Signature · 1 line
2.46.2
maintainer Applied
#3 lore raw
Quoted 16 lines · Vishnu Sanal T

Fix slight grammar mistake on kernel-hacking/false-sharing.rst

---
Changes in v2:

- revert inadverdent mistake introduced on the word "randomizes"

---
 Documentation/kernel-hacking/false-sharing.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/kernel-hacking/false-sharing.rst +0 -0
index 122b0e124656..eb0596734e55 100644

Documentation/kernel-hacking/false-sharing.rst the hotspot switches to a new place. · line 202

Quoted 9 lines
Documentation/kernel-hacking/false-sharing.rst +2 -2
@@ -196,9 +196,9 @@ the hotspot switches to a new place.
 
 Miscellaneous
 =============
-One open issue is that kernel has an optional data structure
+One open issue is that the kernel has an optional data structure
 randomization mechanism, which also randomizes the situation of cache
-line sharing of data members.
+line sharing among data members.
 

Applied, thanks.

jon