* [PATCH] mm: document the vma parameter of clear_young_dirty_ptes
@ 2026-11-29 1:41 Nikolai Dokutovich
0 siblings, 0 replies; only message in thread
From: Nikolai Dokutovich @ 2026-11-29 1:41 UTC (permalink / raw)
To: David Hildenbrand
Cc: Liam R. Howlett, Vlastimil Babka, Mike Rapoport, Michal Hocko,
linux-mm, linux-kernel, Nikolai Dokutovich
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@gmail.com>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-29 1:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-29 1:41 [PATCH] mm: document the vma parameter of clear_young_dirty_ptes Nikolai Dokutovich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox