diff options
author | Linus Torvalds <[email protected]> | 2020-04-08 12:50:01 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-10-12 16:57:57 -0700 |
commit | ea6f043fc9847e670b91dfbf1ef1cdff3451c152 (patch) | |
tree | b91a008b262a787388e8bd72a511a9602ff060f8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 53acd350503d56a73aa6c61bced1699e8396c6d0 (diff) |
x86: Make __get_user() generate an out-of-line call
Instead of inlining the whole stac/lfence/mov/clac sequence (which also
requires individual exception table entries and several asm instruction
alternatives entries), just generate "call __get_user_nocheck_X" for the
__get_user() cases.
We can use all the same infrastructure that we already do for the
regular "get_user()", and the end result is simpler source code, and
much simpler code generation.
It also means that when I introduce asm goto with input for
"unsafe_get_user()", there are no nasty interactions with the
__get_user() code.
Cc: Al Viro <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions