Docs/admin-guide/mm/damon/usage: fix wrong example of DAMOS filter matching sysfs...
authorSeongJae Park <sj@kernel.org>
Fri, 3 May 2024 18:03:14 +0000 (11:03 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 11 May 2024 22:41:34 +0000 (15:41 -0700)
commitda2a061888883e067e8e649d086df35c92c760a7
tree2722e572aad79cacc9cc5ea61c6600ee9540ee03
parent5965d5615b75bbc770a7f36895f91cc72cfd4118
Docs/admin-guide/mm/damon/usage: fix wrong example of DAMOS filter matching sysfs file

The example usage of DAMOS filter sysfs files, specifically the part of
'matching' file writing for memcg type filter, is wrong.  The intention is
to exclude pages of a memcg that already getting enough care from a given
scheme, but the example is setting the filter to apply the scheme to only
the pages of the memcg.  Fix it.

Link: https://lkml.kernel.org/r/20240503180318.72798-7-sj@kernel.org
Fixes: 9b7f9322a530 ("Docs/admin-guide/mm/damon/usage: document DAMOS filters of sysfs")
Closes: https://lore.kernel.org/r/20240317191358.97578-1-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: <stable@vger.kernel.org> [6.3.x]
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/admin-guide/mm/damon/usage.rst