On Mon, Aug 26, 2013 at 09:44:52PM +0100, Christoph Lameter wrote:
> This patch converts __get_cpu_var into either and explicit address 
> calculation using this_cpu_ptr()
> or into a use of this_cpu operations that use the offset. Thereby address 
> calcualtions are avoided
> and less registers are used when code is generated.
...
> Index: linux/arch/arm64/kernel/debug-monitors.c
> ===================================================================
> --- linux.orig/arch/arm64/kernel/debug-monitors.c     2013-08-26 
> 13:48:40.956794980 -0500
> +++ linux/arch/arm64/kernel/debug-monitors.c  2013-08-26 13:48:40.952795024 
> -0500
...
> Index: linux/arch/arm64/kernel/hw_breakpoint.c
> ===================================================================
> --- linux.orig/arch/arm64/kernel/hw_breakpoint.c      2013-08-26 
> 13:48:40.956794980 -0500
> +++ linux/arch/arm64/kernel/hw_breakpoint.c   2013-08-26 13:48:40.952795024 
> -0500
...
> Index: linux/arch/arm64/kernel/perf_event.c
> ===================================================================
> --- linux.orig/arch/arm64/kernel/perf_event.c 2013-08-26 13:48:40.956794980 
> -0500
> +++ linux/arch/arm64/kernel/perf_event.c      2013-08-26 13:48:40.952795024 
> -0500

For the arm64 bits:

Acked-by: Catalin Marinas <[email protected]>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to