diff options
author | SeongJae Park <[email protected]> | 2024-02-05 12:13:06 -0800 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-02-20 14:20:47 -0800 |
commit | e9e3db69966d5e9e6f7e7d017b407c0025180fe5 (patch) | |
tree | ac82b6f03101f3dc24037574251560ce4851d046 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | e3b63e966cac0bf78aaa1efede1827a252815a1d (diff) |
mm/damon/core: check apply interval in damon_do_apply_schemes()
kdamond_apply_schemes() checks apply intervals of schemes and avoid
further applying any schemes if no scheme passed its apply interval.
However, the following schemes applying function, damon_do_apply_schemes()
iterates all schemes without the apply interval check. As a result, the
shortest apply interval is applied to all schemes. Fix the problem by
checking the apply interval in damon_do_apply_schemes().
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 42f994b71404 ("mm/damon/core: implement scheme-specific apply interval")
Signed-off-by: SeongJae Park <[email protected]>
Cc: <[email protected]> [6.7.x]
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions