From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796243868; b=KhkPgqyli8qvNUvIm4dxicXUTcmqB4clBPIntGsdEXAA26IKINXVbLD0IjqONrOtQsj2 MS6XaqWkJPjhRDpoGKpuCMXZLDVgQn8HrGozwpI1Sz5/ZMd6BTd7brSr9HrgnaUZffQnq uIPJKy9Gp9q9DATO+IIFKKC7I3ijrf3W1s8QgrnXOiD3xoy6HSRMW7viAB1mK04LE+v71 AQ/Y1Yc7lR8e0yK9LFM/IgVEsCMcjAMOlGger2AiS5QaDRm+81ipExufwziGMOMhVUGxX 043Riz8K3jhUJRWH4Giu57NjrwjRt0crTW2QrNrR1DL15rZGe1gaAAvXURnpVmVt1MQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796243868; h=Received:DKIM-Signature:Date:To:From:In-Reply-To:References:Subject: Message-Id; bh=g30D3HfdQyBJqiEA5Ztd8NmiXS3HiAMSM2iKgupztKM=; b=vdpLHlGA1nyCkYLyC+JYch8Ii3O7Am8BBQJqVfYLwH9Xuvdp1+LJUMJb+pASv2J1OtTy 7mC9jKLfkZQqYATx8Rrzk8Upp0QovRa20PvwL2BSkMw7cYhN9pGlIaFAv5I75/H2xnM8N hi+1ZY1B9kBvowsiqh15Buy6QimrUHuuyxyyjjxZ1rbzbBak8v/qnKWFw+D7yuSZ46tRD 8h3BHi8bdujdW4Nrw6sEUgpALhcyLPA0/arHk0gjmt83UPn13RVEJRFkTa4eQO6dX5JwU 0bWCeWx5QTLJd+WYBq2By/xDJ6wn/kNbKCU6uuYxQLPcR41Dur+MP8NSdBFD/LRrLXw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linux-foundation.org header.i=@linux-foundation.org header.a=rsa-sha256 header.s=korg header.b=f7wBM8h9; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5F793606A322 for ; Wed, 2 Dec 2026 20:37:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.a=rsa-sha256 header.s=korg header.b=f7wBM8h9 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C8ECA1F000C1; Wed, 2 Dec 2026 20:37:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=korg; t=1796243867; bh=g30D3HfdQyBJqiEA5Ztd8NmiXS3HiAMSM2iKgupztKM=; h=Date:To:From:In-Reply-To:References:Subject; b=f7wBM8h9iC1IeTcuvy5CQk+fdvDZf8IF6+q0o2zGhJDhvkg9/V+hAyNY44YZkigTh QtPZBIZhESeejkvNv7mhlzfI2VMUg5Q5QntiuLoWOQ8HkJBgiKsY0SEW24i7voI0RJ vpxUNRdCWWtfi0peh72qpbUmBG6hYoTJyuOSXp2U= Date: Wed, 02 Dec 2026 12:37:47 -0800 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 From: Andrew Morton In-Reply-To: <20261202135055.5703-1-hanchuanhua@xiaomi.com> References: <20261202135055.5703-1-hanchuanhua@xiaomi.com> Subject: + mm-mglru-remove-the-unused-scan_control-argument-of-isolate_folio.patch added to mm-new branch Message-Id: <20261202203747.C8ECA1F000C1@smtp.kernel.org> X-Mailing-List: mm-commits@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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 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 Signed-off-by: Andrew Morton Cc: Johannes Weiner Cc: Kairui Song Cc: Axel Rasmussen Cc: Baolin Wang Cc: Baoquan He Cc: Barry Song Cc: Michal Hocko Cc: Qi Zheng Cc: Shakeel Butt Cc: Wei Xu Cc: Yuanchu Xie 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