[PATCH] mm: document the vma parameter of clear_young_dirty_ptes
From: Nikolai Dokutovich
Date: Sat Nov 28 2026 - 20:41:38 EST
The function takes a vma and obtains the mm from it. The kernel-doc
still documents an @mm parameter that the function does not have.
Signed-off-by: Nikolai Dokutovich <ndokutovich@xxxxxxxxx>
---
include/linux/pgtable.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/pgtable.h b/include/linux/pgtable.h
index 66d369870a74..c8932dfea8cf 100644
--- a/include/linux/pgtable.h
+++ b/include/linux/pgtable.h
@@ -658,7 +658,7 @@ static inline pte_t ptep_get_and_clear(struct mm_struct *mm,
/**
* clear_young_dirty_ptes - Mark PTEs that map consecutive pages of the
* same folio as old/clean.
- * @mm: Address space the pages are mapped into.
+ * @vma: VMA containing the mapped pages.
* @addr: Address the first page is mapped at.
* @ptep: Page table pointer for the first entry.
* @nr: Number of entries to mark old/clean.
--
2.43.0