linux-yocto/mm/damon
Sang-Heon Jeon ee2d4f6cd0 mm/damon/core: fix damos_commit_filter not changing allow
commit b3dee902b6c26b7d8031a4df19753e27dcfcba01 upstream.

Current damos_commit_filter() does not persist the `allow' value of the
filter.  As a result, changing the `allow' value of a filter and
committing doesn't change the `allow' value.

Add the missing `allow' value update, so committing the filter
persistently changes the `allow' value well.

Link: https://lkml.kernel.org/r/20250816015116.194589-1-ekffu200098@gmail.com
Fixes: fe6d7fdd62 ("mm/damon/core: add damos_filter->allow field")
Signed-off-by: Sang-Heon Jeon <ekffu200098@gmail.com>
Reviewed-by: SeongJae Park <sj@kernel.org>
Cc: <stable@vger.kernel.org>	[6.14.x]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-08-28 16:34:35 +02:00
..
tests mm/damon/tests/core-kunit: add a test for damos_set_filters_default_reject() 2025-05-22 14:55:38 -07:00
core.c mm/damon/core: fix damos_commit_filter not changing allow 2025-08-28 16:34:35 +02:00
Kconfig Revert "mm/damon/Kconfig: enable CONFIG_DAMON by default" 2025-06-10 10:22:15 -07:00
lru_sort.c Revert "mm/damon/lru_sort: adjust local variable to dynamic allocation" 2024-09-09 16:39:00 -07:00
Makefile mm/damon: remove DAMON debugfs interface 2025-01-25 20:22:29 -08:00
modules-common.c mm/damon: s/primitives/code/ on comments 2025-06-05 21:55:41 -07:00
modules-common.h mm/damon: s/primitives/code/ on comments 2025-06-05 21:55:41 -07:00
ops-common.c mm/damon: s/primitives/code/ on comments 2025-06-05 21:55:41 -07:00
ops-common.h mm/damon: s/primitives/code/ on comments 2025-06-05 21:55:41 -07:00
paddr.c mm/damon/ops-common: ignore migration request to invalid nodes 2025-08-28 16:34:32 +02:00
reclaim.c mm/damon: add 'allow' argument to damos_new_filter() 2025-01-25 20:22:32 -08:00
sysfs-common.c mm/damon: s/primitives/code/ on comments 2025-06-05 21:55:41 -07:00
sysfs-common.h mm/damon: s/primitives/code/ on comments 2025-06-05 21:55:41 -07:00
sysfs-schemes.c mm/damon/sysfs-schemes: free old damon_sysfs_scheme_filter->memcg_path on write 2025-06-25 15:55:03 -07:00
sysfs.c mm/damon/sysfs: remove damon_sysfs_cmd_request and its readers 2025-03-17 22:06:55 -07:00
vaddr.c mm/damon: s/primitives/code/ on comments 2025-06-05 21:55:41 -07:00