Skip to contentSkip to conversation

mm/mmu_notifier: Fix a begin vs. start typo in the invalidate range comment

PATCH Applied Sean Christopherson 4 participants 4 messages May 13 – May 14

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

PATCH 1/1 mm/mmu_notifier: Fix a begin vs. start typo in the invalidate range comment

From: Takahiro Itazuri <[email protected]>

Fix a goof in the block comment for invalidate_range_{start,end}() where start() is incorrectly referred to as begin().

No functional change intended.

[sean: split to separate patch, write changelog]
---
 include/linux/mmu_notifier.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/mmu_notifier.h +2 -2
index 69c304b467df..a11a44eef521 100644
@@ -134,8 +134,8 @@ struct mmu_notifier_ops {
 	 * Invalidation of multiple concurrent ranges may be
 	 * optionally permitted by the driver. Either way the
 	 * establishment of sptes is forbidden in the range passed to
-	 * invalidate_range_begin/end for the whole duration of the
-	 * invalidate_range_begin/end critical section.
+	 * invalidate_range_start/end for the whole duration of the
+	 * invalidate_range_start/end critical section.
 	 *
 	 * invalidate_range_start() is called when all pages in the
 	 * range are still mapped and have at least a refcount of one.

base-commit: 5d6919055dec134de3c40167a490f33c74c12581

Signature · 1 line
2.54.0.563.g4f69b47b94-goog
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 11 lines · Sean Christopherson

From: Takahiro Itazuri <[email protected]>

Fix a goof in the block comment for invalidate_range_{start,end}() where start() is incorrectly referred to as begin().

No functional change intended.

[sean: split to separate patch, write changelog]

---

Signature · 3 lines
Cheers,

David
reviewer Reviewed-by on v1 1/1
#2 lore raw
In reply to Sean Christopherson
Quoted 10 lines · Sean Christopherson

From: Takahiro Itazuri <[email protected]>

Fix a goof in the block comment for invalidate_range_{start,end}() where start() is incorrectly referred to as begin().

No functional change intended.

[sean: split to separate patch, write changelog]
Quoted 24 lines
---
 include/linux/mmu_notifier.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/mmu_notifier.h +2 -2
index 69c304b467df..a11a44eef521 100644
@@ -134,8 +134,8 @@ struct mmu_notifier_ops {
 	 * Invalidation of multiple concurrent ranges may be
 	 * optionally permitted by the driver. Either way the
 	 * establishment of sptes is forbidden in the range passed to
-	 * invalidate_range_begin/end for the whole duration of the
-	 * invalidate_range_begin/end critical section.
+	 * invalidate_range_start/end for the whole duration of the
+	 * invalidate_range_start/end critical section.
 	 *
 	 * invalidate_range_start() is called when all pages in the
 	 * range are still mapped and have at least a refcount of one.

base-commit: 5d6919055dec134de3c40167a490f33c74c12581

Signature · 1 line
2.54.0.563.g4f69b47b94-goog
Signature · 2 lines
Sincerely yours,
Mike.
reviewer Reviewed-by on v1 1/1
#3 lore raw
In reply to Sean Christopherson
Quoted 10 lines · Sean Christopherson

From: Takahiro Itazuri <[email protected]>

Fix a goof in the block comment for invalidate_range_{start,end}() where start() is incorrectly referred to as begin().

No functional change intended.

[sean: split to separate patch, write changelog]

LGTM, so:

Quoted 24 lines
---
 include/linux/mmu_notifier.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/mmu_notifier.h +2 -2
index 69c304b467df..a11a44eef521 100644
@@ -134,8 +134,8 @@ struct mmu_notifier_ops {
 	 * Invalidation of multiple concurrent ranges may be
 	 * optionally permitted by the driver. Either way the
 	 * establishment of sptes is forbidden in the range passed to
-	 * invalidate_range_begin/end for the whole duration of the
-	 * invalidate_range_begin/end critical section.
+	 * invalidate_range_start/end for the whole duration of the
+	 * invalidate_range_start/end critical section.
 	 *
 	 * invalidate_range_start() is called when all pages in the
 	 * range are still mapped and have at least a refcount of one.

base-commit: 5d6919055dec134de3c40167a490f33c74c12581 --
2.54.0.563.g4f69b47b94-goog