Re: [PATCH] trace: use __this_cpu_inc/dec operation instead of__get_cpu_var
From: Christoph Lameter
Date: Mon Nov 19 2012 - 16:34:50 EST
On Mon, 19 Nov 2012, Shan Wei wrote:
> __this_cpu_inc_return() or __this_cpu_dec generates a single instruction,
> which is faster than __get_cpu_var operation.
Reviewed-by: Christoph Lameter <cl@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/