From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 47B771A0DFA for ; Fri, 2 Oct 2015 18:25:03 +1000 (AEST) Message-ID: <1443774290.27295.4.camel@kernel.crashing.org> Subject: Re: [v2, 2/2] powerpc/vdso: Avoid link stack corruption in __get_datapage() From: Benjamin Herrenschmidt To: Michael Ellerman , Michael Neuling Cc: Aaron Sawdey , Denis Kirjanov , Steve Munroe , linuxppc-dev@ozlabs.org, anton@samba.org Date: Fri, 02 Oct 2015 18:24:50 +1000 In-Reply-To: <20151002074709.3AE4F140773@ozlabs.org> References: <20151002074709.3AE4F140773@ozlabs.org> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, 2015-10-02 at 17:47 +1000, Michael Ellerman wrote: > 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 > > " to call a function, and "blr" to return back to the call > > site. > > > > > 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 > > Reported-by: Aaron Sawdey > > Applied to powerpc next, thanks. > > https://git.kernel.org/powerpc/c/c974809a26a13e40254dbe3c I'd argue this is a bug fix and should hit stable too.. Cheers, Ben.