Re: [GIT PULL] ring-buffer: Replace this_cpu_*() with __this_cpu_*()

From: Christoph Lameter
Date: Tue May 19 2015 - 11:35:38 EST


On Thu, 19 Mar 2015, Steven Rostedt wrote:

> On Thu, 19 Mar 2015 15:16:25 -0700
> Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> > So I don't think the ring-buffer change is necessarily _wrong_, but if
> > this is a performance issue, why don't we just fix it up for the
> > generic case rather than for just one user?
>
> I totally agree with your analysis, but it's up to Christoph to come up
> with an answer to your questions.

Something beyond: Do not use this_cpu_* when preemption is already
off but use __this_cpu_*?

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