summaryrefslogtreecommitdiff
path: root/scripts/dev-needs.sh
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2026-02-12 01:32:21 +0300
committerPeter Zijlstra <peterz@infradead.org>2026-02-27 18:40:22 +0300
commitda45c8d5f051434a3c68397e66ae2d3b3c97cdec (patch)
treeeac0be6ee982477dffeac0dada09d1415c48289d /scripts/dev-needs.sh
parentbec2ee2390c95ed0c44494340464e69e79802e4a (diff)
downloadlinux-da45c8d5f051434a3c68397e66ae2d3b3c97cdec.tar.xz
perf/core: Simplify __detach_global_ctx_data()
Like in the attach_global_ctx_data() it has a O(N^2) loop to delete task context data for each thread. But perf_free_ctx_data_rcu() can be called under RCU read lock, so just calls it directly rather than iterating the whole thread list again. Signed-off-by: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://patch.msgid.link/20260211223222.3119790-4-namhyung@kernel.org
Diffstat (limited to 'scripts/dev-needs.sh')
0 files changed, 0 insertions, 0 deletions