All of lore.kernel.org
 help / color / mirror / Atom feed
* [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)
  2026-11-30 11:08 ` David Hildenbrand
  0 siblings, 2 replies; 3+ 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] 3+ 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)
  2026-11-30 11:08 ` David Hildenbrand
  1 sibling, 0 replies; 3+ 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] 3+ 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)
@ 2026-11-30 11:08 ` David Hildenbrand
  1 sibling, 0 replies; 3+ messages in thread
From: David Hildenbrand @ 2026-11-30 11:08 UTC (permalink / raw)
  To: David Hildenbrand, Nikolai Dokutovich
  Cc: Liam R. Howlett, Vlastimil Babka, Mike Rapoport, Michal Hocko,
	linux-mm, linux-kernel

On Sun, 29 Nov 2026 04:41:29 +0300, 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.

Applied, thanks!

tree: mm/core.git
branch: core-7.5.misc

Applied patches will appear soon in mm-next, followed by linux-next.

Please report any outstanding bugs that were missed during review, so we
can either drop the patch series or decide how to fix it up.

It is encouraged to provide Acked-bys, Reviewed-bys, and Tested-bys even
though the patches have already been applied. If possible, patch trailers
will be updated.

Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. Further, this is not a guarantee that the
patches will go upstream. If in doubt, please check the listed branch.

[1/1] mm: document the vma parameter of clear_young_dirty_ptes
      https://git.kernel.org/mm/core/c/321287d5

-- 
Cheers,

David


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-30 11:08 UTC | newest]

Thread overview: 3+ 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)
2026-11-30 11:08 ` David Hildenbrand

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.