From: Andrew Morton <akpm@linux-foundation.org>
To: mm-commits@vger.kernel.org,yuanchu@google.com,weixugc@google.com,
shakeel.butt@linux.dev,qi.zheng@linux.dev,mhocko@kernel.org,
kasong@tencent.com,hannes@cmpxchg.org,hanchuanhua@xiaomi.com,
baoquan.he@linux.dev,baolin.wang@linux.alibaba.com,baohua@kernel.org,
axelrasmussen@google.com,hanchuanhua802@gmail.com,akpm@linux-foundation.org
Subject: + mm-mglru-remove-the-unused-scan_control-argument-of-isolate_folio.patch added to mm-new branch
Date: Wed, 02 Dec 2026 12:37:47 -0800 [thread overview]
Message-ID: <20261202203747.C8ECA1F000C1@smtp.kernel.org> (raw)
In-Reply-To: <20261202135055.5703-1-hanchuanhua@xiaomi.com>
The patch titled
Subject: mm/mglru: remove the unused scan_control argument of isolate_folio()
has been added to the -mm mm-new branch. Its filename is
mm-mglru-remove-the-unused-scan_control-argument-of-isolate_folio.patch
This patch will shortly appear at
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-mglru-remove-the-unused-scan_control-argument-of-isolate_folio.patch
This patch will later appear in the mm-new branch at
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Note, mm-new is a provisional staging ground for work-in-progress
patches, and acceptance into mm-new is a notification for others take
notice and to finish up reviews. Please do not hesitate to respond to
review feedback and post updated versions to replace or incrementally
fixup patches in mm-new.
The mm-new branch of mm.git is not included in linux-next
If a few days of testing in mm-new is successful, the patch will me moved
into mm.git's mm-unstable branch, which is included in linux-next
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next via various
branches at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there most days
------------------------------------------------------
From: Chuanhua Han <hanchuanhua802@gmail.com>
Subject: mm/mglru: remove the unused scan_control argument of isolate_folio()
Date: Wed, 2 Dec 2026 21:50:55 +0800
Since commit acd22fbb9f47 ("mm/mglru: remove redundant swap constrained
check upon isolation") removed the sc->gfp_mask check, isolate_folio() no
longer uses its scan_control argument. Remove it.
No functional change.
Link: https://patch.msgid.link/20261202135055.5703-1-hanchuanhua@xiaomi.com
Signed-off-by: Chuanhua Han <hanchuanhua@xiaomi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Kairui Song <kasong@tencent.com>
Cc: Axel Rasmussen <axelrasmussen@google.com>
Cc: Baolin Wang <baolin.wang@linux.alibaba.com>
Cc: Baoquan He <baoquan.he@linux.dev>
Cc: Barry Song <baohua@kernel.org>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Qi Zheng <qi.zheng@linux.dev>
Cc: Shakeel Butt <shakeel.butt@linux.dev>
Cc: Wei Xu <weixugc@google.com>
Cc: Yuanchu Xie <yuanchu@google.com>
mm/vmscan.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/mm/vmscan.c~mm-mglru-remove-the-unused-scan_control-argument-of-isolate_folio
+++ a/mm/vmscan.c
@@ -5062,7 +5062,7 @@ static bool sort_folio(struct lruvec *lr
return false;
}
-static bool isolate_folio(struct lruvec *lruvec, struct folio *folio, struct scan_control *sc)
+static bool isolate_folio(struct lruvec *lruvec, struct folio *folio)
{
bool success;
@@ -5154,7 +5154,7 @@ static int scan_folios(unsigned long nr_
scanned += delta;
if (sort_folio(lruvec, folio, sc, gen, max_gen, tier))
sorted += delta;
- else if (isolate_folio(lruvec, folio, sc)) {
+ else if (isolate_folio(lruvec, folio)) {
list_add(&folio->lru, list);
isolated += delta;
} else {
_
Patches currently in -mm which might be from hanchuanhua802@gmail.com are
mm-mglru-remove-the-unused-scan_control-argument-of-isolate_folio.patch
prev parent reply other threads:[~2026-12-02 20:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 13:50 [PATCH] mm/mglru: remove the unused scan_control argument of isolate_folio() Chuanhua Han
2026-12-02 20:37 ` Andrew Morton [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=20261202203747.C8ECA1F000C1@smtp.kernel.org \
--to=akpm@linux-foundation.org \
--cc=axelrasmussen@google.com \
--cc=baohua@kernel.org \
--cc=baolin.wang@linux.alibaba.com \
--cc=baoquan.he@linux.dev \
--cc=hanchuanhua802@gmail.com \
--cc=hanchuanhua@xiaomi.com \
--cc=hannes@cmpxchg.org \
--cc=kasong@tencent.com \
--cc=mhocko@kernel.org \
--cc=mm-commits@vger.kernel.org \
--cc=qi.zheng@linux.dev \
--cc=shakeel.butt@linux.dev \
--cc=weixugc@google.com \
--cc=yuanchu@google.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.