Re: [PATCH v2 2/2] mm/vmscan: reduce lru_lock contention via vmstat-derived scan-balance cost

Johannes Weiner <[email protected]>
Newsgroups org.kernel.vger.cgroups,org.kernel.vger.linux-kernel,org.kvack.linux-mm
Message-ID <[email protected]>
On Mon, Jul 13, 2026 at 09:34:17AM -0700, Usama Arif wrote:
> @@ -323,6 +323,10 @@ enum node_stat_item {
>  	PGSCAN_PROACTIVE,
>  	PGSCAN_ANON,
>  	PGSCAN_FILE,
> +	PGRECLAIM_PAGEOUT_ANON,
> +	PGRECLAIM_PAGEOUT_FILE,

Reclaim generally doesn't write files (anymore).

You can use NR_VMSCAN_WRITE for the anon counts.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.