diff options
author | Thomas Gleixner <[email protected]> | 2018-09-17 14:45:43 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2018-10-04 23:00:27 +0200 |
commit | 3e89bf35ebf59c12e8c1476f6681fae0ebdcb2a7 (patch) | |
tree | dac2e3ce9c6adcb4bb627e2a7331b31aa24b3411 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 4f72adc5068294268387a81a6bf91d9bb07ecc5c (diff) |
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/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions