On Tue, 1 Sep 2026 22:47:43 -0700 SJ Park <[email protected]> wrote: > DAMON sysfs quota goal target_metric file now accepts 'hugepage_mem_bp' > input. Test it is accepted in fundamental DAMON sysfs file operation > selftest. > > Signed-off-by: SJ Park <[email protected]> > --- > tools/testing/selftests/damon/sysfs.sh | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/tools/testing/selftests/damon/sysfs.sh > b/tools/testing/selftests/damon/sysfs.sh > index ddebde6edabe4..b66593c9ac471 100755 > --- a/tools/testing/selftests/damon/sysfs.sh > +++ b/tools/testing/selftests/damon/sysfs.sh > @@ -210,6 +210,7 @@ test_goal() > ensure_write_succ "$fpath" "active_mem_bp" "valid input" > ensure_write_succ "$fpath" "inactive_mem_bp" "valid input" > ensure_write_succ "$fpath" "node_eligible_mem_bp" "valid input" > + ensure_write_succ "$fpath" "hugepage_mem_bp" "valid input" > ensure_write_fail "$fpath" "foo" "invalid input" > ensure_file "$goal_dir/nid" "exist" "600" > ensure_file "$goal_dir/path" "exist" "600" > -- > 2.47.3 >
The added test correctly covers the hugepage_mem_bp quota goal. Reviewed-by: Kunwu Chan <[email protected]> Thanks, Kunwu Sent using hkml (https://github.com/sjp38/hackermail)

