* [PATCH] mm: document the vma parameter of clear_young_dirty_ptes
@ 2026-11-29 1:41 Nikolai Dokutovich
2026-11-29 8:53 ` David Hildenbrand (Arm)
0 siblings, 1 reply; 2+ messages 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] 2+ messages in thread
* Re: [PATCH] mm: document the vma parameter of clear_young_dirty_ptes
2026-11-29 1:41 [PATCH] mm: document the vma parameter of clear_young_dirty_ptes Nikolai Dokutovich
@ 2026-11-29 8:53 ` David Hildenbrand (Arm)
0 siblings, 0 replies; 2+ messages in thread
From: David Hildenbrand (Arm) @ 2026-11-29 8:53 UTC (permalink / raw)
To: Nikolai Dokutovich
Cc: Liam R. Howlett, Vlastimil Babka, Mike Rapoport, Michal Hocko,
linux-mm, linux-kernel
On 11/29/26 02:41, Nikolai Dokutovich wrote:
> 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.
Reviewed-by: David Hildenbrand (Arm) <david@kernel.org>
I'll pick this up soonish.
--
Cheers,
David
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-29 8:53 UTC | newest]
Thread overview: 2+ messages (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
2026-11-29 8:53 ` David Hildenbrand (Arm)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox