From: SJ Park <sj@kernel.org>
To: Hongfu Li <hongfu.li@linux.dev>
Cc: SJ Park <sj@kernel.org>, David Hildenbrand <david@kernel.org>,
Gregory Price <gourry@gourry.net>, Zi Yan <ziy@nvidia.com>,
Joshua Hahn <joshua.hahnjy@gmail.com>,
Rakie Kim <rakie.kim@sk.com>,
Ying Huang <ying.huang@linux.alibaba.com>,
Andrew Morton <akpm@linux-foundation.org>,
linux-mm@kvack.org, Hongfu Li <lihongfu@kylinos.cn>
Subject: Re: [PATCH] mm/mempolicy: remove unused mm argument in lookup_node()
Date: Fri, 27 Nov 2026 10:47:54 -0800 [thread overview]
Message-ID: <20261127184755.87615-1-sj@kernel.org> (raw)
In-Reply-To: <20261127-for-mempolicy-arg-v1-1-525295a1b31a@kylinos.cn>
On Fri, 27 Nov 2026 18:35:46 +0800 Hongfu Li <hongfu.li@linux.dev> wrote:
> From: Hongfu Li <lihongfu@kylinos.cn>
>
> The mm argument of lookup_node() has been unused since commit
> f728b9c48d56 ("mm: change lookup_node() to use get_user_pages_fast()"),
> which replaced get_user_pages_locked() with get_user_pages_fast() and
> dropped the mmap_read_unlock(mm) that was the only user of the argument.
>
> Drop the parameter and update the call site in do_get_mempolicy().
> No functional change.
Looks good to me.
>
> Signed-off-by: Hongfu Li <lihongfu@kylinos.cn>
Reviewed-by: SJ Park <sj@kernel.org>
Thanks,
SJ
[...]
prev parent reply other threads:[~2026-11-27 18:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-27 10:35 [PATCH] mm/mempolicy: remove unused mm argument in lookup_node() Hongfu Li
2026-11-27 18:47 ` SJ Park [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=20261127184755.87615-1-sj@kernel.org \
--to=sj@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=david@kernel.org \
--cc=gourry@gourry.net \
--cc=hongfu.li@linux.dev \
--cc=joshua.hahnjy@gmail.com \
--cc=lihongfu@kylinos.cn \
--cc=linux-mm@kvack.org \
--cc=rakie.kim@sk.com \
--cc=ying.huang@linux.alibaba.com \
--cc=ziy@nvidia.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