[2/3] powerpc: Avoid load hit store in setup_sigcontext()
Michael Ellerman
mpe at ellerman.id.au
Wed Jun 15 22:39:12 AEST 2016
On Sun, 2016-29-05 at 12:03:51 UTC, Anton Blanchard wrote:
> From: Anton Blanchard <anton at samba.org>
>
> In setup_sigcontext(), we set current->thread.vrsave then use it
> straight after. Since current is hidden from the compiler via inline
> assembly, it cannot optimise this and we end up with a load hit store.
>
> Fix this by using a temporary.
>
> Signed-off-by: Anton Blanchard <anton at samba.org>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/d96f234f47aff593538f9e3d67
cheers
More information about the Linuxppc-dev
mailing list