linux/mm/damon
SeongJae Park abacd635fa mm/damon/core: finish kdamond as soon as any callback returns an error
When 'after_sampling()' or 'after_aggregation()' DAMON callbacks return an
error, kdamond continues the remaining loop once.  It makes no much sense
to run the remaining part while something wrong already happened.  The
context might be corrupted or having invalid data.  This commit therefore
makes kdamond skips the remaining works and immediately finish in the
cases.

Link: https://lkml.kernel.org/r/20220429160606.127307-3-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2022-05-13 07:20:08 -07:00
..
core-test.h mm/damon/core-test: add a kunit test case for ops registration 2022-04-29 14:37:00 -07:00
core.c mm/damon/core: finish kdamond as soon as any callback returns an error 2022-05-13 07:20:08 -07:00
dbgfs-test.h mm/damon/dbgfs-test: fix is_target_id() change 2022-03-22 15:57:12 -07:00
dbgfs.c mm/damon/core: allow non-exclusive DAMON start/stop 2022-03-22 15:57:13 -07:00
Kconfig mm/damon: implement a minimal stub for sysfs-based DAMON interface 2022-03-22 15:57:13 -07:00
Makefile mm/damon: implement a minimal stub for sysfs-based DAMON interface 2022-03-22 15:57:13 -07:00
ops-common.c mm/damon: rename damon_primitives to damon_operations 2022-03-22 15:57:12 -07:00
ops-common.h mm/damon: rename damon_primitives to damon_operations 2022-03-22 15:57:12 -07:00
paddr.c Folio changes for 5.18 2022-03-22 17:03:12 -07:00
reclaim.c mm/damon/reclaim: fix the timer always stays active 2022-04-29 14:37:00 -07:00
sysfs.c mm/damon/sysfs: support fixed virtual address ranges monitoring 2022-05-13 07:20:06 -07:00
vaddr-test.h damon: vaddr-test: tweak code to make the logic clearer 2022-04-29 14:37:00 -07:00
vaddr.c mm/damon/vaddr: register a damon_operations for fixed virtual address ranges monitoring 2022-05-13 07:20:06 -07:00