summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorYichong Chen <chenyichong@uniontech.com>2026-08-07 18:00:51 +0800
committerGeorgi Djakov <djakov@kernel.org>2026-09-28 19:24:01 +0300
commit28f76170fd90051dd65a8330004fff3f386a56da (patch)
treeecf89c247af1fb26c7f0781a9e1144e40138b11a /tools/perf/scripts/python/task-analyzer.py
parente0667aa9c6f997e827ba9444d19550dea95d2169 (diff)
downloadlinux-next-28f76170fd90051dd65a8330004fff3f386a56da.tar.gz
linux-next-28f76170fd90051dd65a8330004fff3f386a56da.zip
interconnect: debugfs: replace writable string helper
debugfs_create_str() is being made read-only because its generic write path is hard to make safe without adding more locking to the helper. Convert the interconnect debugfs client src_node and dst_node entries to local file operations before removing writable string support from debugfs_create_str(). Protect the string replacement and path lookup with the existing debugfs_lock. The old code duplicated the strings under rcu_read_lock(), so it had to use GFP_ATOMIC. The local file operations protect src_node and dst_node with debugfs_lock instead, so the allocation can use GFP_KERNEL. Signed-off-by: Yichong Chen <chenyichong@uniontech.com> Link: https://patch.msgid.link/20260807100053.1089834-2-chenyichong@uniontech.com Signed-off-by: Georgi Djakov <djakov@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions