]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
mm/mmu_notifier: fix a begin vs. start typo in the invalidate range comment
authorTakahiro Itazuri <itazur@amazon.com>
Wed, 13 May 2026 16:35:46 +0000 (09:35 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 2 Jun 2026 22:22:16 +0000 (15:22 -0700)
Fix a goof in the block comment for invalidate_range_{start,end}() where
start() is incorrectly referred to as begin().

No functional change intended.

[seanjc@google.com: split to separate patch, write changelog]
Link: https://lore.kernel.org/20260513163546.1176742-1-seanjc@google.com
Signed-off-by: Takahiro Itazuri <itazur@amazon.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: David Hildenbrand (Arm) <david@kernel.org>
Reviewed-by: Lorenzo Stoakes <ljs@kernel.org>
Reviewed-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Cc: Liam R. Howlett <liam@infradead.org>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Vlastimil Babka <vbabka@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/mmu_notifier.h

index 69c304b467dfb944fd658b9c8b2f2718072fc862..a11a44eef521e979ecf1716b63fa8af217a0f9d0 100644 (file)
@@ -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.