Re: [PATCH] x86/oprofile/ppro: Do not use __this_cpu* accessors in preemptible context

From: Thomas Gleixner
Date: Wed Nov 08 2017 - 07:01:25 EST


On Wed, 8 Nov 2017, Borislav Petkov wrote:

> On Wed, Nov 08, 2017 at 11:48:28AM +0100, Thomas Gleixner wrote:
> > AFAICT, ppro_setup_ctrs() has the same issue
>
> Here's an updated patch:

Sorry for misleading you. That function is actually correct as it is called
from the cpu online callback with interrupts disabled.

I'll drop that hunk again.

Thanks,

tglx