Subject: Re: [v2, 2/2] powerpc/vdso: Avoid link stack corruption in __get_datapage()

From: Michael Ellerman <[email-masked]>
Date: Fri, 2 Oct 2015 17:47:09 +1000 (AEST)

On Fri, 2015-25-09 at 04:01:40 UTC, Michael Neuling wrote:
> powerpc has a link register (lr) used for calling functions. We "bl
> <func>" to call a function, and "blr" to return back to the call site.

<snip, geez that was long>

> For the benchmark in tools/testing/selftests/powerpc/benchmarks/gettimeofday.c
>   POWER8:
>     64bit gets ~4% improvement
>     32bit gets ~9% improvement
>   POWER7:
>     64bit gets ~7% improvement
> 
> Signed-off-by: Michael Neuling <[email-masked]>
> Reported-by: Aaron Sawdey <[email-masked]>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/c974809a26a13e40254dbe3c

cheers