aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorSeongJae Park <[email protected]>2022-12-01 17:08:34 +0000
committerAndrew Morton <[email protected]>2022-12-11 18:12:15 -0800
commit0b7623bdf89b9f6d320784e929acb78291aaf5f6 (patch)
treeb791de38cd0c561b25515e27ef614017d9ed877c /lib/mpi/mpiutil.c
parentc8c7016f50c85688d71feea2dba1bd955d5f5358 (diff)
selftests/damon: test removed scheme sysfs dir access bug
A DAMON sysfs user could start DAMON with a scheme, remove the sysfs directory for the scheme, and then ask stats or schemes tried regions update. The related logic were not aware of the already removed directory situation, so it was able to results in invalid memory accesses. The fix has made with commit 8468b486612c ("mm/damon/sysfs-schemes: skip stats update if the scheme directory is removed"), though. Add a selftest to prevent such kinds of bugs from being introduced again. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: SeongJae Park <[email protected]> Cc: Shuah Khan <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions