aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorHuang Shijie <[email protected]>2024-10-01 15:00:21 +0800
committerPeter Zijlstra <[email protected]>2024-10-07 09:28:41 +0200
commit4423af84b29794a9bd2bd07188d8e71083e54c61 (patch)
tree67bbb27844d1ee2508dd677cbb49515851af65e9 /tools/perf/scripts/python/gecko.py
parente31488c9df27aaea2cdffba688129fdeb3869650 (diff)
sched/fair: optimize the PLACE_LAG when se->vlag is zero
When PLACE_LAG is enabled, from the relationship: vl_i = (W + w_i)*vl'_i / W we know that if vl'_i(se->vlag) is zero, the vl_i is zero too. So if se->vlag is zero, there is no need to waste cycles to do the calculation. Signed-off-by: Huang Shijie <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Christoph Lameter (Ampere) <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions