Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mm/damon/core-test: add a test for damon_set_attrs()
Commit 5ff6e2f ("mm/damon/core: fix divide error in damon_nr_accesses_to_accesses_bp()") fixed a bug by adding arguments validation in damon_set_attrs(). Add a unit test for the added validation to ensure the bug cannot occur again. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: SeongJae Park <[email protected]> Reviewed-by: Kefeng Wang <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
- Loading branch information