diff options
author | 2024-02-07 12:31:33 -0800 | |
---|---|---|
committer | 2024-02-22 10:24:56 -0800 | |
commit | f08db42b1c3a6c62ab13ac466f5d8d72d3dd79c5 (patch) | |
tree | af4e4f76fc484b7f29ef3b6221bf668531974323 /mm/compaction.c | |
parent | selftests/damon: add a test for a race between target_ids_read() and dbgfs_before_terminate() (diff) | |
download | wireguard-linux-f08db42b1c3a6c62ab13ac466f5d8d72d3dd79c5.tar.xz wireguard-linux-f08db42b1c3a6c62ab13ac466f5d8d72d3dd79c5.zip |
selftests/damon: add a test for the pid leak of dbgfs_target_ids_write()
Commit ebb3f994dd92 ("mm/damon/dbgfs: fix 'struct pid' leaks in
'dbgfs_target_ids_write()'") fixes a pid leak bug in DAMON debugfs
interface, namely dbgfs_target_ids_write() function. Add a selftest for
the issue to prevent the problem from mistakenly recurring.
Link: https://lkml.kernel.org/r/20240207203134.69976-8-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