From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4435833123F for ; Mon, 27 Apr 2026 18:23:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777314216; cv=none; b=NndItuzSSezc7EIuiMICbOKaI7loYhb5bwuyMcZ8aU9oVnjK3wWchq7RoNljrZwqUKFOofGqNsaixycf+lLKJGZk1HE4Z9CC06EUJT6snCxJgAxRAvcjHWzvWVY7qoj9x4cfTfOX26YscLDzQRnSPm0SA1AxsgePMaqdhXmvxMk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777314216; c=relaxed/simple; bh=uCujyWmbwNSLTpMH8+fbrQoVcGJ11PIGaSK4jnYcnZ0=; h=Date:To:From:Subject:Message-Id; b=OD+crbmFsxaZ8BuIgHFUBtyqYnKepTqUHHftCu6RMekyn8Md/BpmVUfyFuO78tUYU/upyFg2sfsWstmXv8mZjhaf2qDD2QOOcPsrboSCUtpoxSFNk+Myx0W8Wx6SZRJjymxDvaXEf99zTgRRPe8xUtq/lfEltFIQDHY3NS2SZ84= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=1R6ioojc; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="1R6ioojc" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CE7A5C19425; Mon, 27 Apr 2026 18:23:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1777314215; bh=uCujyWmbwNSLTpMH8+fbrQoVcGJ11PIGaSK4jnYcnZ0=; h=Date:To:From:Subject:From; b=1R6ioojcNBa+ctgyidawAAjG5NCDSV5zzLGwK+Q5XUnpLblsTjPSKF95bvWSSWiom 0cfhJD6+nthZbgWhT3IUZbA+9sEq02IojeoHGApqcsHoEcVf4rvTdMbGn0lUipWK75 GE04V7x/vrk5o/JIJNfLdfRMcbevNzz7HrSpxw3w= Date: Mon, 27 Apr 2026 11:23:35 -0700 To: mm-commits@vger.kernel.org,kasong@tencent.com,akpm@linux-foundation.org From: Andrew Morton Subject: + mm-vmscan-remove-sc-file_taken.patch added to mm-new branch Message-Id: <20260427182335.CE7A5C19425@smtp.kernel.org> Precedence: bulk X-Mailing-List: mm-commits@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: The patch titled Subject: mm/vmscan: remove sc->file_taken has been added to the -mm mm-new branch. Its filename is mm-vmscan-remove-sc-file_taken.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-vmscan-remove-sc-file_taken.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: Kairui Song Subject: mm/vmscan: remove sc->file_taken Date: Tue, 28 Apr 2026 02:07:04 +0800 No one is using it now, just remove it. Link: https://lore.kernel.org/20260428-mglru-reclaim-v7-13-02fabb92dc43@tencent.com Signed-off-by: Kairui Song Reviewed-by: Axel Rasmussen Reviewed-by: Baolin Wang Reviewed-by: Chen Ridong Cc: Barry Song Cc: Chris Li Cc: David Hildenbrand Cc: David Stevens Cc: Johannes Weiner Cc: Kalesh Singh Cc: Leno Hou Cc: Lorenzo Stoakes Cc: Michal Hocko Cc: Shakeel Butt Cc: Suren Baghdasaryan Cc: Vernon Yang Cc: Wei Xu Cc: Yafang Cc: Yuanchu Xie Cc: Yu Zhao Signed-off-by: Andrew Morton --- mm/vmscan.c | 3 --- 1 file changed, 3 deletions(-) --- a/mm/vmscan.c~mm-vmscan-remove-sc-file_taken +++ a/mm/vmscan.c @@ -173,7 +173,6 @@ struct scan_control { unsigned int congested; unsigned int writeback; unsigned int immediate; - unsigned int file_taken; unsigned int taken; } nr; @@ -2040,8 +2039,6 @@ static unsigned long shrink_inactive_lis sc->nr.writeback += stat.nr_writeback; sc->nr.immediate += stat.nr_immediate; sc->nr.taken += nr_taken; - if (file) - sc->nr.file_taken += nr_taken; trace_mm_vmscan_lru_shrink_inactive(pgdat->node_id, nr_scanned, nr_reclaimed, &stat, sc->priority, file); _ Patches currently in -mm which might be from kasong@tencent.com are mm-mglru-consolidate-common-code-for-retrieving-evictable-size.patch mm-mglru-rename-variables-related-to-aging-and-rotation.patch mm-mglru-relocate-the-lru-scan-batch-limit-to-callers.patch mm-mglru-restructure-the-reclaim-loop.patch mm-mglru-scan-and-count-the-exact-number-of-folios.patch mm-mglru-use-a-smaller-batch-for-reclaim.patch mm-mglru-dont-abort-scan-immediately-right-after-aging.patch mm-mglru-remove-redundant-swap-constrained-check-upon-isolation.patch mm-mglru-use-the-common-routine-for-dirty-writeback-reactivation.patch mm-mglru-simplify-and-improve-dirty-writeback-handling.patch mm-mglru-remove-no-longer-used-reclaim-argument-for-folio-protection.patch mm-vmscan-remove-sc-file_taken.patch mm-vmscan-remove-sc-unqueued_dirty.patch mm-vmscan-unify-writeback-reclaim-statistic-and-throttling.patch