aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorGiovanni Gherdovich <[email protected]>2020-04-16 05:47:43 +0000
committerPeter Zijlstra <[email protected]>2020-04-22 21:10:13 +0000
commit23ccee22e834eca236b9a20989caf6905bd6954a (patch)
treeeef4b477b47cbcf926942e4eb7cf74799177edea /tools/perf/scripts/python/net_dropmonitor.py
parentx86, sched: Bail out of frequency invariance if base frequency is unknown (diff)
downloadkernel-23ccee22e834eca236b9a20989caf6905bd6954a.tar.gz
kernel-23ccee22e834eca236b9a20989caf6905bd6954a.zip
x86, sched: Account for CPUs with less than 4 cores in freq. invariance
If a CPU has less than 4 physical cores, MSR_TURBO_RATIO_LIMIT will rightfully report that the 4C turbo ratio is zero. In such cases, use the 1C turbo ratio instead for frequency invariance calculations. Fixes: 1567c3e3467c ("x86, sched: Add support for frequency invariance") Reported-by: Like Xu <[email protected]> Reported-by: Neil Rickert <[email protected]> Signed-off-by: Giovanni Gherdovich <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Acked-by: Rafael J. Wysocki <[email protected]> Tested-by: Dave Kleikamp <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions