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

From: Michal Koutný
Date: Wed Mar 19 2025 - 06:33:45 EST


On Wed, Mar 19, 2025 at 05:49:15PM +0800, Hao Jia <jiahao1@xxxxxxxxxxx> wrote:
> root
> `- a `- b`- c
>
> We have a userspace proactive memory reclaim process that writes to
> a/memory.reclaim, observes a/memory.stat, then writes to
> b/memory.reclaim and observes b/memory.stat. This pattern is the same
> for other cgroups as well, so all memory cgroups(a, b, c) have the
> **same writer**. So, I need per-cgroup proactive memory reclaim statistics.

Sorry for unclarity, it got lost among the mails. Originally, I thought
about each write(2) but in reality it'd be per each FD. Similar to how
memory.peak allows seeing different values. WDYT?

Michal

Attachment: signature.asc
Description: PGP signature