diff options
| author | Heiko Carstens <[email protected]> | 2014-01-23 11:18:36 +0100 |
|---|---|---|
| committer | Martin Schwidefsky <[email protected]> | 2014-02-21 08:50:14 +0100 |
| commit | 4f41c2b4567dbfb7ff93e5c552b869e2865bcd9d (patch) | |
| tree | 5845eccdb038c5e1bc90a0aaf8919f2a65fa8096 /tools/perf/scripts/python/syscall-counts.py | |
| parent | cfa785e623577cdad2aa721acb23bd3a95eced9a (diff) | |
s390/uaccess: get rid of indirect function calls
There are only two uaccess variants on s390 left: the version that is used
if the mvcos instruction is available, and the page table walk variant.
So there is no need for expensive indirect function calls.
By default the mvcos variant will be called. If the mvcos instruction is not
available it will call the page table walk variant.
For minimal performance impact the "if (mvcos_is_available)" is implemented
with a jump label, which will be a six byte nop on machines with mvcos.
Signed-off-by: Heiko Carstens <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions