summaryrefslogtreecommitdiff
path: root/mm/memcontrol.c
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2023-06-15 21:33:22 +0300
committerAndrew Morton <akpm@linux-foundation.org>2023-06-20 02:19:35 +0300
commitaa13779be6b7d1ce0e6ba96b400b351de6f1a326 (patch)
tree9ca673e64627e0e24f68c5434d774540688cfda4 /mm/memcontrol.c
parent5d949953f841fd661a2a49df188426d5930ed723 (diff)
downloadlinux-aa13779be6b7d1ce0e6ba96b400b351de6f1a326.tar.xz
mm/damon/core-test: add a test for damon_set_attrs()
Commit 5ff6e2fff88e ("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/20230615183323.87561-1-sj@kernel.org Signed-off-by: SeongJae Park <sj@kernel.org> Reviewed-by: Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions