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

Thomas Gleixner <[email protected]>
Newsgroups gmane.linux.oprofile,gmane.linux.kernel
Message-ID <alpine.DEB.2.20.1711081258540.1937@nanos>
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

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.