diff options
| author | SeongJae Park <[email protected]> | 2021-11-20 00:43:52 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-11-20 18:35:54 +0000 |
| commit | d78f3853f831eee46c6dbe726debf3be9e9c0d05 (patch) | |
| tree | 93b109b0e3045af3b997ca7c2b09fcddeab65310 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | mm/damon/dbgfs: use '__GFP_NOWARN' for user-specified size buffer allocation (diff) | |
| download | kernel-d78f3853f831eee46c6dbe726debf3be9e9c0d05.tar.gz kernel-d78f3853f831eee46c6dbe726debf3be9e9c0d05.zip | |
mm/damon/dbgfs: fix missed use of damon_dbgfs_lock
DAMON debugfs is supposed to protect dbgfs_ctxs, dbgfs_nr_ctxs, and
dbgfs_dirs using damon_dbgfs_lock. However, some of the code is
accessing the variables without the protection. This fixes it by
protecting all such accesses.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 75c1c2b53c78 ("mm/damon/dbgfs: support multiple contexts")
Signed-off-by: SeongJae Park <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
