mm/damon/core: fix damos_commit_filter not changing allow
Subsystems (3)
PATCH v2 1/1 mm/damon/core: fix damos_commit_filter not changing allow
Current damos_commit_filter() not persist allow value of filter. As a result, changing allow value of filter and commit doesn't change allow value.
Add the missing allow value update, so commit filter now persist changing allow value well.
Fixes fe6d7fdd6249 ("mm/damon/core: add damos_filter->allow field")
Cc [email protected] # 6.14.x
Signed-off-by Sang-Heon Jeon <[email protected]>
---
Changes from v1 [1]:
- Fix wrong fixes section commit
- Add cc section for backporting
[1] https://lore.kernel.org/damon/[email protected]/
--- mm/damon/core.c | 1 + 1 file changed, 1 insertion(+)
mm/damon/core.c +1 -0
@@ -900,6 +900,7 @@ static void damos_commit_filter( { dst->type = src->type; dst->matching = src->matching; + dst->allow = src->allow;damos_commit_filter_arg (dst, src); }
Signature · 1 line
2.43.0
+ Andrew
Quoted 10 lines · On Sat, 16 Aug 2025 10:51:16 +0900 Sang-Heon Jeon <[email protected]> wrote:
Current
damos_commit_filter()not persist allow value of filter. As a result, changing allow value of filter and commit doesn't change allow value.Add the missing allow value update, so commit filter now persist changing allow value well.
Fixes fe6d7fdd6249 ("mm/damon/core: add damos_filter->allow field")Cc [email protected] # 6.14.xSigned-off-by Sang-Heon Jeon <[email protected]>
Reviewed-by SeongJae Park <[email protected]>
Thanks,
SJ
[...]