aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/bpf-script-example.c
diff options
context:
space:
mode:
authorQais Yousef <[email protected]>2023-01-12 12:27:08 +0000
committerPeter Zijlstra <[email protected]>2023-01-13 10:40:21 +0000
commitda07d2f9c153e457e845d4dcfdd13568d71d18a4 (patch)
treed1e735a84b3ab5d88477552881f4ad6d82fe4260 /tools/perf/tests/bpf-script-example.c
parentsched/uclamp: Fix a uninitialized variable warnings (diff)
downloadkernel-da07d2f9c153e457e845d4dcfdd13568d71d18a4.tar.gz
kernel-da07d2f9c153e457e845d4dcfdd13568d71d18a4.zip
sched/fair: Fixes for capacity inversion detection
Traversing the Perf Domains requires rcu_read_lock() to be held and is conditional on sched_energy_enabled(). Ensure right protections applied. Also skip capacity inversion detection for our own pd; which was an error. Fixes: 44c7b80bffc3 ("sched/fair: Detect capacity inversion") Reported-by: Dietmar Eggemann <[email protected]> Signed-off-by: Qais Yousef (Google) <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Vincent Guittot <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/tests/bpf-script-example.c')
0 files changed, 0 insertions, 0 deletions