Re: [Use cpuops V1 01/11] percpucounter: Optimize __percpu_counter_adda bit through the use of this_cpu() options.

From: Tejun Heo
Date: Tue Dec 07 2010 - 09:00:46 EST


On 12/06/2010 06:16 PM, Christoph Lameter wrote:
> The this_cpu_* options can be used to optimize __percpu_counter_add a bit. Avoids
> some address arithmetic and saves 12 bytes.
...
>
> Reviewed-by: Pekka Enberg <penberg@xxxxxxxxxx>
> Reviewed-by: Tejun Heo <tj@xxxxxxxxxx>
> Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxxxx>
> Signed-off-by: Christoph Lameter <cl@xxxxxxxxx>

applied to percpu#for-next.

Thanks.

--
tejun
--
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/