All of lore.kernel.org
 help / color / mirror / Atom feed
From: "David Hildenbrand (Arm)" <david@kernel.org>
To: Hongfu Li <hongfu.li@linux.dev>,
	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>
Cc: linux-mm@kvack.org, Hongfu Li <lihongfu@kylinos.cn>
Subject: Re: [PATCH] mm/mempolicy: remove unused mm argument in lookup_node()
Date: Sun, 29 Nov 2026 11:26:43 +0100	[thread overview]
Message-ID: <8110fabe-e16e-4528-9ce6-d6560185818c@kernel.org> (raw)
In-Reply-To: <20261127-for-mempolicy-arg-v1-1-525295a1b31a@kylinos.cn>

On 11/27/26 11:35, Hongfu Li 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.
> 
> Signed-off-by: Hongfu Li <lihongfu@kylinos.cn>
> ---

Reviewed-by: David Hildenbrand (Arm) <david@kernel.org>

Thanks, I'll pick this soon.

-- 
Cheers,

David


  parent reply	other threads:[~2026-11-29 10:26 UTC|newest]

Thread overview: 5+ 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
2026-11-29 10:26 ` David Hildenbrand (Arm) [this message]
2026-11-30  1:12 ` Zi Yan
2026-11-30 11:10 ` David Hildenbrand

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=8110fabe-e16e-4528-9ce6-d6560185818c@kernel.org \
    --to=david@kernel.org \
    --cc=akpm@linux-foundation.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 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.