Skip to contentSkip to conversation

Took care of some grammatical mistakes

PATCH In review attreyee-muk 7 participants 8 messages Nov 27, 2023 – Nov 29, 2023

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

PATCH 1/1 Took care of some grammatical mistakes

Respected Maintainers,

I have made some grammatical changes in the livepatch.rst file where I felt that the sentence would have sounded more correct and would have become easy for beginners to understand by reading.
Requesting review of my proposed changes from the mainatiners.

Thank You
Attreyee Mukherjee

---
 Documentation/livepatch/livepatch.rst | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Documentation/livepatch/livepatch.rst +4 -4
index 68e3651e8af9..a2d2317b7d6b 100644
@@ -35,11 +35,11 @@ and livepatching:
     compiler using the '-pg' gcc option.
 
   - Livepatching typically needs to redirect the code at the very beginning
-    of the function entry before the function parameters or the stack
+    of the function entry, before the function parameters or the stack
     are in any way modified.
 
 All three approaches need to modify the existing code at runtime. Therefore
-they need to be aware of each other and not step over each other's toes.
+they need to be aware of each other and not step over each others' toes.
 Most of these problems are solved by using the dynamic ftrace framework as
 a base. A Kprobe is registered as a ftrace handler when the function entry
 is probed, see CONFIG_KPROBES_ON_FTRACE. Also an alternative function from
@@ -50,8 +50,8 @@ some limitations, see below.
 3. Consistency model
 ====================
 
-Functions are there for a reason. They take some input parameters, get or
-release locks, read, process, and even write some data in a defined way,
+Functions are there for a reason. They take some input parameters, acquire or
+release locks, read, process, write some data in a defined way, and also
 have return values. In other words, each function has a defined semantic.
 
 Many fixes do not change the semantic of the modified functions. For
Signature · 1 line
2.34.1
maintainer
#1 lore raw
Quoted 7 lines · attreyee-muk

Respected Maintainers,

I have made some grammatical changes in the livepatch.rst file where I felt that the sentence would have sounded more correct and would have become easy for beginners to understand by reading.
Requesting review of my proposed changes from the mainatiners.

Quoted 7 lines

Thank You
Attreyee Mukherjee

---
 Documentation/livepatch/livepatch.rst | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Your changes seem OK as far as they go. But please read our documentation on patch submission:

https://docs.kernel.org/process/submitting-patches.html

..and specifically the parts about writing proper changelogs and the use of a full name for your signoff.

Thanks,

jon

reviewer
#2 lore raw
In reply to attreyee-muk

Hi,

Quoted 20 lines · attreyee-muk

Respected Maintainers,

I have made some grammatical changes in the livepatch.rst file where I felt that the sentence would have sounded more correct and would have become easy for beginners to understand by reading.
Requesting review of my proposed changes from the mainatiners.

Thank You
Attreyee Mukherjee

---
 Documentation/livepatch/livepatch.rst | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Documentation/livepatch/livepatch.rst +0 -0
index 68e3651e8af9..a2d2317b7d6b 100644

Documentation/livepatch/livepatch.rst and livepatching: · line 37

Quoted 4 lines
Documentation/livepatch/livepatch.rst +1 -1
@@ -35,11 +35,11 @@ and livepatching:
 
 All three approaches need to modify the existing code at runtime. Therefore
-they need to be aware of each other and not step over each other's toes.
+they need to be aware of each other and not step over each others' toes.

I've never seen that written like that, so I disagree here. FWIW.

Documentation/livepatch/livepatch.rst and livepatching: · line 45

Quoted 3 lines
Documentation/livepatch/livepatch.rst +0 -0
 Most of these problems are solved by using the dynamic ftrace framework as
 a base. A Kprobe is registered as a ftrace handler when the function entry
 is probed, see CONFIG_KPROBES_ON_FTRACE. Also an alternative function from

thanks.

Signature · 1 line
~Randy
#3 lore raw
Quoted 24 lines · Randy Dunlap

Hi,

Quoted 21 lines · attreyee-muk

Respected Maintainers,

I have made some grammatical changes in the livepatch.rst file where I felt that the sentence would have sounded more correct and would have become easy for beginners to understand by reading.
Requesting review of my proposed changes from the mainatiners.

Thank You
Attreyee Mukherjee

---
 Documentation/livepatch/livepatch.rst | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Documentation/livepatch/livepatch.rst +0 -0
index 68e3651e8af9..a2d2317b7d6b 100644
@@ -35,11 +35,11 @@ and livepatching:
 
Quoted 5 lines

Documentation/livepatch/livepatch.rst and livepatching: · line 42

Quoted 3 lines
Documentation/livepatch/livepatch.rst +1 -1
 All three approaches need to modify the existing code at runtime. Therefore
-they need to be aware of each other and not step over each other's toes.
+they need to be aware of each other and not step over each others' toes.

I've never seen that written like that, so I disagree here. FWIW.

"Step over" is new to me too. I see "step on" much more often. As far as placement of the apostrophe,
https://ludwig.guru/s/step+on+each+others+toes
suggests either omitting the apostrophe or placing it after the s, as attreyee-muk has done is most common.

reviewer
#4 lore raw
Quoted 25 lines · Matthew Wilcox
Quoted 24 lines · Randy Dunlap

Hi,

Quoted 21 lines · attreyee-muk

Respected Maintainers,

I have made some grammatical changes in the livepatch.rst file where I felt that the sentence would have sounded more correct and would have become easy for beginners to understand by reading.
Requesting review of my proposed changes from the mainatiners.

Thank You
Attreyee Mukherjee

---
 Documentation/livepatch/livepatch.rst | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Documentation/livepatch/livepatch.rst +0 -0
index 68e3651e8af9..a2d2317b7d6b 100644
@@ -35,11 +35,11 @@ and livepatching:
 
Quoted 7 lines
Quoted 5 lines

Documentation/livepatch/livepatch.rst and livepatching: · line 42

Quoted 3 lines
Documentation/livepatch/livepatch.rst +1 -1
 All three approaches need to modify the existing code at runtime. Therefore
-they need to be aware of each other and not step over each other's toes.
+they need to be aware of each other and not step over each others' toes.

I've never seen that written like that, so I disagree here. FWIW.

"Step over" is new to me too. I see "step on" much more often.

Agreed.

Quoted 4 lines

As far as placement of the apostrophe,
https://ludwig.guru/s/step+on+each+others+toes
suggests either omitting the apostrophe or placing it after the s, as attreyee-muk has done is most common.

Apparently you can find anything on the internet. :)

Here's the other side:

https://jakubmarian.com/each-others-vs-each-others-in-english/

Signature · 1 line
~Randy
maintainer
#5 lore raw
Quoted 34 lines · Randy Dunlap
Quoted 31 lines · Matthew Wilcox
Quoted 29 lines · Randy Dunlap

Hi,

Quoted 20 lines · attreyee-muk

Respected Maintainers,

I have made some grammatical changes in the livepatch.rst file where I felt that the sentence would have sounded more correct and would have become easy for beginners to understand by reading.
Requesting review of my proposed changes from the mainatiners.

Thank You
Attreyee Mukherjee

---
 Documentation/livepatch/livepatch.rst | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Documentation/livepatch/livepatch.rst +0 -0
index 68e3651e8af9..a2d2317b7d6b 100644

Documentation/livepatch/livepatch.rst and livepatching: · line 37

Quoted 4 lines
Documentation/livepatch/livepatch.rst +1 -1
@@ -35,11 +35,11 @@ and livepatching:
 
 All three approaches need to modify the existing code at runtime. Therefore
-they need to be aware of each other and not step over each other's toes.
+they need to be aware of each other and not step over each others' toes.

I've never seen that written like that, so I disagree here. FWIW.

Quoted 3 lines
Quoted 1 line

"Step over" is new to me too. I see "step on" much more often.

Agreed.

Yes. Attreyee, please fix this instead.

Quoted 10 lines
Quoted 4 lines

As far as placement of the apostrophe,
https://ludwig.guru/s/step+on+each+others+toes
suggests either omitting the apostrophe or placing it after the s, as attreyee-muk has done is most common.

Apparently you can find anything on the internet. :)

Here's the other side:

https://jakubmarian.com/each-others-vs-each-others-in-english/

I am not a native speaker, but "step on each other's toe" sounds the best to me. Or perhaps even "they need to be aware of each other and not step on their toes" since it is then kind of implied? English is difficult :).

Miroslav

#6 lore raw
Quoted 49 lines · Miroslav Benes
Quoted 34 lines · Randy Dunlap
Quoted 31 lines · Matthew Wilcox
Quoted 29 lines · Randy Dunlap

Hi,

Quoted 20 lines · attreyee-muk

Respected Maintainers,

I have made some grammatical changes in the livepatch.rst file where I felt that the sentence would have sounded more correct and would have become easy for beginners to understand by reading.
Requesting review of my proposed changes from the mainatiners.

Thank You
Attreyee Mukherjee

---
 Documentation/livepatch/livepatch.rst | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Documentation/livepatch/livepatch.rst +0 -0
index 68e3651e8af9..a2d2317b7d6b 100644

Documentation/livepatch/livepatch.rst and livepatching: · line 37

Quoted 4 lines
Documentation/livepatch/livepatch.rst +1 -1
@@ -35,11 +35,11 @@ and livepatching:
 
 All three approaches need to modify the existing code at runtime. Therefore
-they need to be aware of each other and not step over each other's toes.
+they need to be aware of each other and not step over each others' toes.

I've never seen that written like that, so I disagree here. FWIW.

Quoted 3 lines
Quoted 1 line

"Step over" is new to me too. I see "step on" much more often.

Agreed.

Yes. Attreyee, please fix this instead.

Quoted 7 lines
Quoted 4 lines

As far as placement of the apostrophe,
https://ludwig.guru/s/step+on+each+others+toes
suggests either omitting the apostrophe or placing it after the s, as attreyee-muk has done is most common.

Apparently you can find anything on the internet. :)

Quoted 8 lines
Quoted 3 lines

Here's the other side:

https://jakubmarian.com/each-others-vs-each-others-in-english/

I am not a native speaker, but "step on each other's toe" sounds the best to me. Or perhaps even "they need to be aware of each other and not step on their toes" since it is then kind of implied? English is difficult :).

I agree with yours and Jakub's blogpost, since 'each other' refers to every single individual.

Thanks.

Signature · 1 line
An old man doll... just what I always wanted! - Clara
maintainer
#7 lore raw
In reply to Miroslav Benes
Quoted 5 lines · Miroslav Benes

I am not a native speaker, but "step on each other's toe" sounds the best to me. Or perhaps even "they need to be aware of each other and not step on their toes" since it is then kind of implied? English is difficult :).

Native speaker here, so don't ask me what's grammatically accurate :D I would definitely say "step on" vs. "step over". I would also write "each other's toes", but not flinch if I read "each others' toes" or even "each others toes".

After thinking about it for more that 30s, I might consider rewording the sentence to avoid the idiom altogether, something like: "Therefore they need to coordinate to avoid interfering with each other."

Signature · 1 line
Joe