Thread (12 messages) 12 messages, 4 authors, 2025-03-19

Re: [PATCH 1/2] mm: vmscan: Split proactive reclaim statistics from direct reclaim statistics

flat view

From: Michal Koutný <mkoutny@suse.com>
Date: 2025-03-18 12:59:21
Also in: linux-doc, linux-mm, lkml

On Tue, Mar 18, 2025 at 08:03:44PM +0800, Hao Jia [off-list ref] wrote:
quoted
How silly is it to have multiple memory.reclaim writers?
Would it make sense to bind those statistics to each such a write(r)
instead of the aggregated totals?

I'm sorry, I didn't understand what your suggestion was conveying.
For instance one reclaimer for page cache and another for anon (in one
memcg):
  echo "1G swappiness=0" >memory.reclaim &
  echo "1G swappiness=200" >memory.reclaim
Are you suggesting that the statistics for {pgscan, pgsteal}_{kswapd,
direct, khugepaged} be merged into one?
Not more merging -- opposite, having separate stats (somewhere) for each
of the above reclaimers.

Michal

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help