Re: [this_cpu_xx V6 3/7] Use this_cpu operations in slub

From: Christoph Lameter
Date: Mon Oct 12 2009 - 11:03:31 EST


On Mon, 12 Oct 2009, Tejun Heo wrote:

> > - c = get_cpu_slab(s, smp_processor_id());
> > + c = __this_cpu_ptr(s->cpu_slab);
>
> Shouldn't this be this_cpu_ptr() without the double underscore?

Interrupts are disabled so no concurrent fast path can occur.


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