Re: [PATCH RFC] percpu: add data dependency barrier in percpu accessors and operations
From: Tejun Heo
Date: Tue Jun 17 2014 - 12:05:19 EST
On Tue, Jun 17, 2014 at 12:00:40PM -0400, Tejun Heo wrote:
> Hello, Christoph.
>
> On Tue, Jun 17, 2014 at 10:56:10AM -0500, Christoph Lameter wrote:
> > Uhhh no. The percpu stuff and the associated per cpu atomics are to be
> > used for stuff that is per cpu specific and runs at the fastest speed
> > doable at that level. Introducing implicit barriers is not that good an
> > idea.
>
> Hmmm? Read barriers are noops on all archs except for alpha and
Oops, data dependency barriers, not read barrier.
> percpu pointer assignments aren't exactly a high frequency operation
> and I'm pretty sure we'll end up with a raw variant anyway.
--
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/