diff options
author | Vasily Gorbik | 2022-02-28 13:15:59 +0100 |
---|---|---|
committer | Vasily Gorbik | 2022-03-10 15:58:17 +0100 |
commit | eed38cd2f46f6c4f97c730abd8f23a19db0afbc8 (patch) | |
tree | 04e860d466ae873384a96f28ee51fbc341fa4d2c /lib/fault-inject-usercopy.c | |
parent | 6c2797cd51218a451a52edc2ca533f89d1a2af10 (diff) |
s390/nospec: generate single register thunks if possible
Currently assembler generated expoline thunks are always in a form
__s390_indirect_jump_rXuse_rX even when exrl instruction is available
and no additional register is utilized.
Generate __s390_indirect_jump_rX versions using a single register if the
kernel is built for z10 or newer machine, which have exrl instruction
available. Thunks generated are identical to the ones generated by the
compiler.
This helps to reduce the number of thunks for newer machines generations.
Acked-by: Sumanth Korikkar <sumanthk@linux.ibm.com>
Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'lib/fault-inject-usercopy.c')
0 files changed, 0 insertions, 0 deletions