Re: [thiscpuops upgrade 01/10] percpucounter: Optimize__percpu_counter_add a bit through the use of this_cpu() options.

From: Pekka Enberg
Date: Wed Nov 24 2010 - 02:07:31 EST


On Wed, Nov 24, 2010 at 1:51 AM, Christoph Lameter <cl@xxxxxxxxx> wrote:
> The this_cpu_* options can be used to optimize __percpu_counter_add a bit. Avoids
> some address arithmetic and saves 12 bytes.

[snip]

> Signed-off-by: Christoph Lameter <cl@xxxxxxxxx>

Reviewed-by: Pekka Enberg <penberg@xxxxxxxxxx>
--
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/