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 BD2D73AB27C for ; Thu, 23 Apr 2026 18:14:47 +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=1776968087; cv=none; b=n19ggrbWsmrQ/bW5de2XTtP6nhJUz9NKHGQaNX/daOCr5DwNyjCWnO8+ATgHadDcyRt+pS0MswEA/nGKPAO6Uoegj3N4C7R4keNQDmXZYwuS7BsaYNiL2oQrkqmAhHFOJBTEqvgvzP0cOPF8yx9Bu2J3RivJ+iBP7GllA7lf1fs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776968087; c=relaxed/simple; bh=caBmdwTbtYGSJ3687fz76pOhx072M34g7yb0p2tBU3w=; h=Date:To:From:Subject:Message-Id; b=Hw/6IJbEwaZg8C37bdkWq5bPIP2EWleY3lM2v4wkn+0XS5dncue6VCluaecKJJeGaaG73VxZUKujuJ60lz3mWZIEssA9dvUx8oEhTjui4pAGNoHwFEWnkJd26/f5EQk7P1MXRCcjh4J55P+OU2Po6PwBzxJmA49p97fNew2rWw8= 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=lL1k+Osx; 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="lL1k+Osx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 42B2FC2BCAF; Thu, 23 Apr 2026 18:14:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1776968087; bh=caBmdwTbtYGSJ3687fz76pOhx072M34g7yb0p2tBU3w=; h=Date:To:From:Subject:From; b=lL1k+Osxl+nDwS6JXSPVFosWzl0ztYa9be7FlUCqqmPV4cCr+OlWxDVImuup6miHo VW22hDJmPZJATYFSYyDQeUFRy7VAx273ZpUH5PnZDRrv9seUW2am99hXirEw8lK3hS EAwIafafcO07OmZa9ezvBOaG97EfqmD5ZXYe403E= Date: Thu, 23 Apr 2026 11:14:46 -0700 To: mm-commits@vger.kernel.org,kasong@tencent.com,akpm@linux-foundation.org From: Andrew Morton Subject: + mm-vmscan-remove-sc-unqueued_dirty.patch added to mm-new branch Message-Id: <20260423181447.42B2FC2BCAF@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->unqueued_dirty has been added to the -mm mm-new branch. Its filename is mm-vmscan-remove-sc-unqueued_dirty.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-unqueued_dirty.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->unqueued_dirty Date: Fri, 24 Apr 2026 01:43:24 +0800 No one is using it now, just remove it. Link: https://lore.kernel.org/20260424-mglru-reclaim-v6-13-a57622d770c3@tencent.com Signed-off-by: Kairui Song Suggested-by: Axel Rasmussen Reviewed-by: Baolin Wang Reviewed-by: Axel Rasmussen Reviewed-by: Barry Song Reviewed-by: Chen Ridong 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: Qi Zheng 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 | 2 -- 1 file changed, 2 deletions(-) --- a/mm/vmscan.c~mm-vmscan-remove-sc-unqueued_dirty +++ a/mm/vmscan.c @@ -169,7 +169,6 @@ struct scan_control { struct { unsigned int dirty; - unsigned int unqueued_dirty; unsigned int congested; unsigned int writeback; unsigned int immediate; @@ -2035,7 +2034,6 @@ static unsigned long shrink_inactive_lis sc->nr.dirty += stat.nr_dirty; sc->nr.congested += stat.nr_congested; - sc->nr.unqueued_dirty += stat.nr_unqueued_dirty; sc->nr.writeback += stat.nr_writeback; sc->nr.immediate += stat.nr_immediate; sc->nr.taken += nr_taken; _ 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