[PATCH] powerpc/64: indirect function call use bctrl rather than blrl in ret_from_kernel_thread
Michael Ellerman
patch-notifications at ellerman.id.au
Fri Jun 26 14:46:03 AEST 2020
On Thu, 11 Jun 2020 22:11:19 +1000, Nicholas Piggin wrote:
> blrl is not recommended to use as an indirect function call, as it may
> corrupt the link stack predictor.
>
> This is not a performance critical path but this should be fixed for
> consistency.
Applied to powerpc/next.
[1/1] powerpc/64: indirect function call use bctrl rather than blrl in ret_from_kernel_thread
https://git.kernel.org/powerpc/c/89bbe4c798bc3a43c882179adb5222c1a972ac70
cheers
More information about the Linuxppc-dev
mailing list