aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2024-06-09 10:11:04 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2024-06-19 12:33:38 -0700
commit86a6a68febfcf57b5c2a7ba33e6d6f1f78ca5197 (patch)
tree35355f828c8104b5542f8b851ba7015a1e9971f9 /init
parent6ba59ff4227927d3a8530fc2973b80e94b54d58f (diff)
arm64: start using 'asm goto' for get_user() when available
This generates noticeably better code with compilers that support it, since we don't need to test the error register etc, the exception just jumps to the error handling directly. Note that this also marks SW_TTBR0_PAN incompatible with KCSAN support, since KCSAN wants to save and restore the user access state. KCSAN and SW_TTBR0_PAN were probably always incompatible, but it became obvious only when implementing the unsafe user access functions. At that point the default empty user_access_save/restore() functions weren't provided by the default fallback functions. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions