[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20250501132704.416b6000fb5eeaf4e9c3634b@linux-foundation.org>
Date: Thu, 1 May 2025 13:27:04 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: <xu.xin16@....com.cn>
Cc: <david@...hat.com>, <linux-kernel@...r.kernel.org>,
<wang.yaxin@....com.cn>, <linux-mm@...ck.org>,
<linux-fsdevel@...r.kernel.org>, <yang.yang29@....com.cn>, Johannes Weiner
<hannes@...xchg.org>, Michal Hocko <mhocko@...nel.org>, Roman Gushchin
<roman.gushchin@...ux.dev>, Shakeel Butt <shakeel.butt@...ux.dev>, Muchun
Song <muchun.song@...ux.dev>
Subject: Re: [PATCH v2 0/9] support ksm_stat showing at cgroup level
On Thu, 1 May 2025 12:08:54 +0800 (CST) <xu.xin16@....com.cn> wrote:
> With the enablement of container-level KSM (e.g., via prctl [1]), there is
> a growing demand for container-level observability of KSM behavior. However,
> current cgroup implementations lack support for exposing KSM-related
> metrics.
>
> This patch introduces a new interface named ksm_stat
> at the cgroup hierarchy level, enabling users to monitor KSM merging
> statistics specifically for containers where this feature has been
> activated, eliminating the need to manually inspect KSM information for
> each individual process within the cgroup.
Well, you didn't cc any of the memcg maintainers!
The feature seems desirable and the implementation straightforward.
I'll add the patchset into mm.git for some testing, pending review
outcomes, thanks.
Powered by blists - more mailing lists