summaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2026-08-05 07:52:29 -0700
committerTejun Heo <tj@kernel.org>2026-08-10 11:47:19 -1000
commita6a80c1cc6883e44876dad85dfec79b414eec0b5 (patch)
tree1620da0e6b814aaeb48837380fe79ba5d71dccdf /tools/perf/scripts
parent79f23600bc7b13a35fd148131245c283d14604a8 (diff)
workqueue: factor out alloc_and_link_percpu_pwqs()
Move the per-cpu pwq allocation loop out of alloc_and_link_pwqs() into a helper. The inner allocation-failure path now returns -ENOMEM and the caller jumps to the existing enomem cleanup, equivalent to the previous goto. No functional change. Signed-off-by: Breno Leitao <leitao@debian.org> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions