diff options
| author | SeongJae Park <sj@kernel.org> | 2024-02-07 12:31:32 -0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2024-02-22 10:24:56 -0800 |
| commit | e6255a297628ddd7ead9cf8fb2ce11168595c89d (patch) | |
| tree | 5450697d2e1612c82dc22189cf294e1b00b70559 /tools/perf/scripts/python | |
| parent | ce7a2834659fd18eda042574696fe4191f069e31 (diff) | |
| download | linux-e6255a297628ddd7ead9cf8fb2ce11168595c89d.tar.gz 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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
