diff options
author | 2024-02-07 12:31:32 -0800 | |
---|---|---|
committer | 2024-02-22 10:24:56 -0800 | |
commit | e6255a297628ddd7ead9cf8fb2ce11168595c89d (patch) | |
tree | 5450697d2e1612c82dc22189cf294e1b00b70559 /mm/compaction.c | |
parent | selftests/damon: add a test for DAMOS apply intervals (diff) | |
download | wireguard-linux-e6255a297628ddd7ead9cf8fb2ce11168595c89d.tar.xz wireguard-linux-e6255a297628ddd7ead9cf8fb2ce11168595c89d.zip |
selftests/damon: add a test for a race between target_ids_read() and dbgfs_before_terminate()
commit 34796417964b ("mm/damon/dbgfs: protect targets destructions with
kdamond_lock") fixed a race of DAMON debugfs interface. Specifically, the
race was happening between target_ids_read() and dbgfs_before_terminate().
Add a test for the issue to prevent the problem from accidentally
recurring.
Link: https://lkml.kernel.org/r/20240207203134.69976-7-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/compaction.c')
0 files changed, 0 insertions, 0 deletions