diff options
author | Pavel Tatashin <pasha.tatashin@oracle.com> | 2017-06-12 23:41:44 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-13 01:44:02 +0300 |
commit | 178bf2b9a20e866677bbca5cb521b09a8498c1d7 (patch) | |
tree | c8147817fafe9eafc7ef486375eb77423666f389 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | b5dd4d807f0fe7da67c5cc67b2ec681b60e4994b (diff) | |
download | linux-178bf2b9a20e866677bbca5cb521b09a8498c1d7.tar.xz |
sparc64: optimize loads in clock_sched()
In clock sched we now have three loads:
- Function pointer
- quotient for multiplication
- offset
However, it is possible to improve performance substantially, by
guaranteeing that all three loads are from the same cacheline.
By moving these three values first in sparc64_tick_ops, and by having
tick_operations 64-byte aligned we guarantee this.
Signed-off-by: Pavel Tatashin <pasha.tatashin@oracle.com>
Reviewed-by: Shannon Nelson <shannon.nelson@oracle.com>
Reviewed-by: Steven Sistare <steven.sistare@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions