From: "David Hildenbrand (Arm)" <david@kernel.org>
To: Nikolai Dokutovich <ndokutovich@gmail.com>
Cc: "Liam R. Howlett" <liam@infradead.org>,
Vlastimil Babka <vbabka@kernel.org>,
Mike Rapoport <rppt@kernel.org>, Michal Hocko <mhocko@suse.com>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mm: document the vma parameter of clear_young_dirty_ptes
Date: Sun, 29 Nov 2026 09:53:21 +0100 [thread overview]
Message-ID: <2138e080-9c9a-439c-ad3e-c8c5ce2f0395@kernel.org> (raw)
In-Reply-To: <20261129014129.57392-1-ndokutovich@gmail.com>
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
prev parent reply other threads:[~2026-11-29 8:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2138e080-9c9a-439c-ad3e-c8c5ce2f0395@kernel.org \
--to=david@kernel.org \
--cc=liam@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mhocko@suse.com \
--cc=ndokutovich@gmail.com \
--cc=rppt@kernel.org \
--cc=vbabka@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox