diff options
| author | SeongJae Park <sj@kernel.org> | 2025-07-05 10:49:59 -0700 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-07-19 18:59:44 -0700 |
| commit | e000df9ff183e7adc938db8a739690de112dd961 (patch) | |
| tree | 525f0b60821cc8e2bfe9b2e8a14aeee355c7d7ca /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | d2b5be741a5045272b9d711908eab017632ac022 (diff) | |
mm/damon/sysfs: don't hold kdamond_lock in before_terminate()
damon_sysfs_before_terminate() is a DAMON callback that is executed from
the kdamond's context. Hence it is safe to access DAMON context internal
data. But the function is unnecessarily holding kdamond_lock of the
context. It is just unnecessary. Remove the locking code.
Link: https://lkml.kernel.org/r/20250705175000.56259-6-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
