aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2018-09-17 12:45:43 +0000
committerThomas Gleixner <[email protected]>2018-10-04 21:00:27 +0000
commit3e89bf35ebf59c12e8c1476f6681fae0ebdcb2a7 (patch)
treedac2e3ce9c6adcb4bb627e2a7331b31aa24b3411 /tools/perf/scripts/python/sched-migration.py
parentx86/vdso: Simplify the invalid vclock case (diff)
downloadkernel-3e89bf35ebf59c12e8c1476f6681fae0ebdcb2a7.tar.gz
kernel-3e89bf35ebf59c12e8c1476f6681fae0ebdcb2a7.zip
x86/vdso: Move cycle_last handling into the caller
Dereferencing gtod->cycle_last all over the place and foing the cycles < last comparison in the vclock read functions generates horrible code. Doing it at the call site is much better and gains a few cycles both for TSC and pvclock. Caveat: This adds the comparison to the hyperv vclock as well, but I have no way to test that. Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Andy Lutomirski <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Matt Rickard <[email protected]> Cc: Stephen Boyd <[email protected]> Cc: John Stultz <[email protected]> Cc: Florian Weimer <[email protected]> Cc: "K. Y. Srinivasan" <[email protected]> Cc: Vitaly Kuznetsov <[email protected]> Cc: [email protected] Cc: [email protected] Cc: Paolo Bonzini <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Juergen Gross <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions