aboutsummaryrefslogtreecommitdiffstats
path: root/.mailmap
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2024-02-12 18:36:32 -0800
committerAndrew Morton <akpm@linux-foundation.org>2024-02-20 14:20:49 -0800
commit0721a614ef798053a4a54c74e2501b8d15b0eff3 (patch)
treea5f6e57eca95c09fcbd5481516f4da308cd7721b /.mailmap
parent118642d7f606fc9b9c92ee611275420320290ffb (diff)
downloadlinux-0721a614ef798053a4a54c74e2501b8d15b0eff3.tar.gz
mm/damon/sysfs-schemes: handle schemes sysfs dir removal before commit_schemes_quota_goals
'commit_schemes_quota_goals' command handler, damos_sysfs_set_quota_scores() assumes the number of schemes sysfs directory will be same to the number of schemes of the DAMON context. The assumption is wrong since users can remove schemes sysfs directories while DAMON is running. In the case, illegal memory accesses can happen. Fix it by checking the case. Link: https://lkml.kernel.org/r/20240213023633.124928-1-sj@kernel.org Fixes: d91beaa505a0 ("mm/damon/sysfs-schemes: implement a command for scheme quota goals only commit") Signed-off-by: SeongJae Park <sj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions