Re: [PATCH 0/8] mm/damon: introduce hugepage_size probe filter

From: SJ Park

Date: Wed Sep 16 2026 - 01:58:41 EST


Hi Andrew,

On Tue, 15 Sep 2026 16:39:28 -0700 Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:

> On Tue, 15 Sep 2026 07:33:49 -0700 SJ Park <sj@xxxxxxxxxx> wrote:
>
> > Knowing whether a given memory is backed by a hugepage of specific size
> > is useful for efficient utilization of hugepages. For easy monitoring
> > of the information, introduce a new data attribute probe filter type,
> > hugepage_size. It works similar to the DAMOS filter of the same name.
> > It works for memory that is backed by a hugepage of a given size range.
> >
> > Patch 1 introduces the new probe filter type to DAMON API and extends
> > related data structures. Patch 2 updates probe filter commit logic to
> > handle the size range. Patch 3 Updates the filtering logic to support
> > the new type. Patch 4 adds new DAMON sysfs files for the size range.
> > Patch 5 updates DAMON sysfs interface to fully support the new filter
> > type. Patches 6-8 updates design, usage and ABI documents for the new
> > feature.
>
> All queued up, thanks. With a -fix for [7/8].

Thank you! I found the -fix is in the mm.git as below:

'''
$ git show 81c69fbb4128
[...]
--- a/Documentation/admin-guide/mm/damon/usage.rst
+++ b/Documentation/admin-guide/mm/damon/usage.rst
@@ -309,7 +309,7 @@ named ``0`` to ``N-1``. Each directory represents each filter and works in a
way similar to that for :ref:`DAMOS filter <sysfs_filters>`. When the filter
``type`` is ``memcg``, ``path`` file acts as ``memcg_path`` for :ref:`DAMOS
filter <sysfs_filters>`. When the filter ``type`` is ``hugepage_size``,
-``min`` and ``max`` files acts as files of the same names for :ref:`DAMOS
+``min`` and ``max`` file acts as files of the same names for :ref:`DAMOS
filter <sysfs_filters>`.

.. _sysfs_targets:
'''

But, I think it is slightly wrong. The fix I requested is
's/files acts/files act/', but the committed fix is doing
's/files acts/file acts/'. Could you please fix it when you get a chance? Let
me know if there is anything that I can help, too.


Thanks,
SJ

[...]