summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_parser.py
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2025-07-12 12:50:14 -0700
committerAndrew Morton <akpm@linux-foundation.org>2025-07-19 18:59:56 -0700
commit3a69f1635769e976151625798cc6597301150296 (patch)
tree958829b7411bedd5eda6fb643a7c2af1aaf2285b /scripts/lib/kdoc/kdoc_parser.py
parentf59ae147abb7905cc4656cee5c4c6ae7b53db75a (diff)
mm/damon/core: destroy targets when kdamond_fn() finish
When kdamond_fn() completes, the targets are kept. Those are kept to let callers do additional cleanups if they need. There are no such additional cleanups though. DAMON sysfs interface deallocates those in before_terminate() callback, to reduce unnecessary memory usage, for [f]vaddr use case. Just destroy the targets for every case in the core layer. This saves more memory and simplifies the logic. Link: https://lkml.kernel.org/r/20250712195016.151108-13-sj@kernel.org Signed-off-by: SeongJae Park <sj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions