[PATCH v2 2/6] mm/pgtable: Fix bogus comment to clear_not_present_full_ptes()

From: Alexander Gordeev

Date: Wed Apr 15 2026 - 11:03:48 EST


The address provided to clear_not_present_full_ptes() is the
address of the underlying memory, not address of the first PTE.
The exact wording is taken from clear_ptes() comment.

Suggested-by: Kevin Brodsky <kevin.brodsky@xxxxxxx>
Signed-off-by: Alexander Gordeev <agordeev@xxxxxxxxxxxxx>
---
include/linux/pgtable.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/pgtable.h b/include/linux/pgtable.h
index 9ff7b78d65b1..2b82a71f13d7 100644
--- a/include/linux/pgtable.h
+++ b/include/linux/pgtable.h
@@ -1021,8 +1021,8 @@ static inline void pte_clear_not_present_full(struct mm_struct *mm,
/**
* clear_not_present_full_ptes - Clear multiple not present PTEs which are
* consecutive in the pgtable.
- * @mm: Address space the ptes represent.
- * @addr: Address of the first pte.
+ * @mm: Address space the pages are mapped into.
+ * @addr: Address the first page is mapped at.
* @ptep: Page table pointer for the first entry.
* @nr: Number of entries to clear.
* @full: Whether we are clearing a full mm.
--
2.51.0