Re: [PATCH 2/3] powerpc: Avoid load hit store in setup_sigcontext()

2016-05-29 Thread Anton Blanchard via Linuxppc-dev
Hi, > On Sun, 2016-05-29 at 22:03 +1000, Anton Blanchard wrote: > > From: Anton Blanchard > > > > 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 l

Re: [PATCH 2/3] powerpc: Avoid load hit store in setup_sigcontext()

2016-05-29 Thread Michael Neuling
On Sun, 2016-05-29 at 22:03 +1000, Anton Blanchard wrote: > From: Anton Blanchard > > 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. I