diff options
| author | SeongJae Park <sj@kernel.org> | 2026-04-26 10:36:12 -0700 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-05-13 17:40:00 -0700 |
| commit | d4e7b5c4cc353f154d5ab8bb2e1ce7714d77a6e9 (patch) | |
| tree | e0f151ccf954bd73a868ec83311d0d1046637944 /scripts/gdb/linux/slab.py | |
| parent | 63451de16e0a08be40f9ab5e7c5c8f5c79676fb1 (diff) | |
mm/damon/sysfs-schemes: call missing mem_cgroup_iter_break()
damon_sysfs_memcg_path_to_id() breaks mem_cgroup_iter() loop without
calling mem_cgroup_iter_break(). This leaks the cgroup reference. Fix
the issue by calling mem_cgroup_iter_break() before the break.
The issue was discovered [1] by Sashiko.
Link: https://lore.kernel.org/20260426173625.86521-1-sj@kernel.org
Link: https://lore.kernel.org/20260423004148.74722-1-sj@kernel.org [1]
Fixes: 29cbb9a13f05 ("mm/damon/sysfs-schemes: implement scheme filters")
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: <stable@vger.kernel.org> # 6.3.x
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/gdb/linux/slab.py')
0 files changed, 0 insertions, 0 deletions
