Re: [RFC PATCH 00/19] mm/damon: introduce data attributes monitoring

From: SeongJae Park

Date: Mon Apr 27 2026 - 20:33:32 EST


On Mon, 27 Apr 2026 16:16:07 +0300 Gutierrez Asier <gutierrez.asier@xxxxxxxxxxxxxxxxxxx> wrote:

> Hi SeonJae,
>
> On 4/26/2026 11:52 PM, SeongJae Park wrote:
> > TL; DR
> > ======
> >
> > Extend DAMON for monitoring general data attributes other than accesses.
> > This is for enabling light-weight page type (e.g., belonging cgroup)
> > aware monitoring in short term. In long term, this will help extending
> > DAMON for multiple access events capture primitives (e.g., page faults
> > and PMU) and eventually pivotting DAMON to a "Data Attributes Monitoring
> > and Operations eNgine" in long term.
>
> Very interesting. Looking forward to seeing this in upstream.

Thank you!

[...]
> My main concern is about potential pollution of sysfs. DAMON is already
> complex to set up, with a lot of knobs. Adding more configuration options
> may make admin's job more complex.

You are right, ther are a lot of knobs for DAMON. Nevertheless, each knob is
simple and independent, so easy to scale. We also provide user-space tool for
users who still want to use DAMON in highly customized way, and DAMON modules
for users who want common purpose usage of DAMON with minimum tunable knobs.

I believe the beginning part of DAMON usage document [2] is explaining this
point.

FWIW, I'm also working on DAMON-X [1] for making the modules based appraoch
just works for more use cases.

>
> Do you plan to support this extension in damo user space?

Yes, I will!

[1] https://lore.kernel.org/linux-mm/20260307210250.204245-1-sj@xxxxxxxxxx/
[2] Documentation/admin-guide/mm/damon/usage.rst


Thanks,
SJ

[...]