summaryrefslogtreecommitdiff
path: root/include/asm-generic/qrwlock.h
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2020-12-20 21:18:26 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2020-12-21 14:06:10 +0300
commit0faa22f09caadc11af2aa7570870ebd2ac5b8170 (patch)
tree7c1ba47144ca505f0155b50a0283064332150411 /include/asm-generic/qrwlock.h
parentb36f835b636908e4122f2e17310b1dbc380a3b19 (diff)
downloadlinux-0faa22f09caadc11af2aa7570870ebd2ac5b8170.tar.xz
powerpc/time: Force inlining of get_tb()
Force inlining of get_tb() in order to avoid getting following function in vdso32, leading to suboptimal performance in clock_gettime() 00000688 <.get_tb>: 688: 7c 6d 42 a6 mftbu r3 68c: 7c 8c 42 a6 mftb r4 690: 7d 2d 42 a6 mftbu r9 694: 7c 03 48 40 cmplw r3,r9 698: 40 e2 ff f0 bne+ 688 <.get_tb> 69c: 4e 80 00 20 blr Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/df05d53eed1210cf1aa76d1fb44aa0fab29c018e.1608488286.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'include/asm-generic/qrwlock.h')
0 files changed, 0 insertions, 0 deletions