From: sashiko-bot@kernel.org
To: "Yeoreum Yun" <yeoreum.yun@arm.com>,
"Jason Gunthorpe" <jgg@ziepe.ca>,
"John Hubbard" <jhubbard@nvidia.com>,
"Peter Xu" <peterx@redhat.com>,
linux-mm@kvack.org, "Jan Kara" <jack@suse.cz>,
"Josef Bacik" <josef@toxicpanda.com>,
"Johannes Weiner" <hannes@cmpxchg.org>,
"Lorenzo Stoakes" <ljs@kernel.org>,
"Liam R. Howlett" <liam@infradead.org>,
"Vlastimil Babka" <vbabka@kernel.org>,
"Mike Rapoport" <rppt@kernel.org>,
"Suren Baghdasaryan" <surenb@google.com>,
"Michal Hocko" <mhocko@suse.com>, "Jann Horn" <jannh@google.com>,
"Pedro Falcato" <pfalcato@suse.de>
Cc: "David Hildenbrand" <david@kernel.org>,
"Andrew Morton" <akpm@linux-foundation.org>,
"Harrison Crosse" <harrison@crosse.dev>
Subject: Re: [PATCH 2/3] mm: gup: remove unused argument in populate_vma_page_range()
Date: Fri, 04 Dec 2026 15:17:52 +0000 [thread overview]
Message-ID: <sashiko-outbox-250080@kernel.org> (raw)
In-Reply-To: <20261203-infinite_mm_populate-v1-2-da5f1bccb3a2@arm.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] mm: missing retry parameter in __populate_vma_page_range()
kernel-doc
--
commit 2709f07a148327588fa4049cd5dfd07e980cd0f9
Author: Yeoreum Yun <yeoreum.yun@arm.com>
mm: gup: remove unused argument in populate_vma_page_range()
This commit removes the unused locked parameter from
populate_vma_page_range() and updates its callers in mm/mmap.c and
mm/mprotect.c to match, passing NULL directly to
__populate_vma_page_range().
> diff --git a/mm/gup.c b/mm/gup.c
> index d2ff0b667e377..4c0d00c37c21d 100644
> --- a/mm/gup.c
> +++ b/mm/gup.c
> @@ -1966,9 +1966,9 @@ static long __populate_vma_page_range(struct vm_area_struct *vma,
>
>
> long populate_vma_page_range(struct vm_area_struct *vma,
> - unsigned long start, unsigned long end, int *locked)
> + unsigned long start, unsigned long end)
> {
> - return __populate_vma_page_range(vma, start, end, locked, false);
> + return __populate_vma_page_range(vma, start, end, NULL, false);
> }
[Severity: Low]
Should the kernel-doc comment on __populate_vma_page_range() also document
the @retry parameter, or drop the /** marker since it is static?
Commit "mm: gup: handle fault retries in __mm_populate()" renamed the
kernel-doc block to __populate_vma_page_range() and added bool retry to
its signature, but left @retry out of the parameter list. This triggers a
scripts/kernel-doc parameter mismatch warning on W=1 builds.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261203-infinite_mm_populate-v1-0-da5f1bccb3a2@arm.com?part=2
next prev parent reply other threads:[~2026-12-04 15:17 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 15:17 [PATCH 0/3] mm: gup: handle fault retries in __mm_populate() Yeoreum Yun
2026-12-03 15:17 ` [PATCH 1/3] " Yeoreum Yun
2026-12-04 3:23 ` Liam R. Howlett
2026-12-04 8:30 ` Yeoreum Yun
2026-12-04 5:29 ` kernel test robot
2026-12-04 15:17 ` sashiko-bot
2026-12-03 15:17 ` [PATCH 2/3] mm: gup: remove unused argument in populate_vma_page_range() Yeoreum Yun
2026-12-04 3:28 ` Liam R. Howlett
2026-12-04 8:41 ` Yeoreum Yun
2026-12-04 15:17 ` sashiko-bot [this message]
2026-12-03 15:17 ` [PATCH 3/3] mm: gup: make mmap_lock acquisition in __mm_populate() killable Yeoreum Yun
2026-12-04 3:35 ` Liam R. Howlett
2026-12-04 8:38 ` Yeoreum Yun
2026-12-04 3:23 ` [PATCH 0/3] mm: gup: handle fault retries in __mm_populate() Liam R. Howlett
2026-12-04 19:58 ` Yeoreum Yun
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=sashiko-outbox-250080@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=david@kernel.org \
--cc=hannes@cmpxchg.org \
--cc=harrison@crosse.dev \
--cc=jack@suse.cz \
--cc=jannh@google.com \
--cc=jgg@ziepe.ca \
--cc=jhubbard@nvidia.com \
--cc=josef@toxicpanda.com \
--cc=liam@infradead.org \
--cc=linux-mm@kvack.org \
--cc=ljs@kernel.org \
--cc=mhocko@suse.com \
--cc=peterx@redhat.com \
--cc=pfalcato@suse.de \
--cc=rppt@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=surenb@google.com \
--cc=vbabka@kernel.org \
--cc=yeoreum.yun@arm.com \
/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