From: Nikolai Dokutovich <ndokutovich@gmail.com>
To: David Hildenbrand <david@kernel.org>
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,
Nikolai Dokutovich <ndokutovich@gmail.com>
Subject: [PATCH] mm: document the vma parameter of clear_young_dirty_ptes
Date: Sun, 29 Nov 2026 04:41:29 +0300 [thread overview]
Message-ID: <20261129014129.57392-1-ndokutovich@gmail.com> (raw)
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
reply other threads:[~2026-11-29 1:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20261129014129.57392-1-ndokutovich@gmail.com \
--to=ndokutovich@gmail.com \
--cc=david@kernel.org \
--cc=liam@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mhocko@suse.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
all inboxes | Powered by JetHome®