From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752307AbdKHMBV (ORCPT ); Wed, 8 Nov 2017 07:01:21 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:46459 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751600AbdKHMBU (ORCPT ); Wed, 8 Nov 2017 07:01:20 -0500 Date: Wed, 8 Nov 2017 13:01:03 +0100 (CET) From: Thomas Gleixner To: Borislav Petkov cc: Linus Torvalds , Fengguang Wu , "oprofile-list@lists.sf.net" , Robert Richter , Ingo Molnar , "H. Peter Anvin" , the arch/x86 maintainers , Linux Kernel Mailing List Subject: Re: [PATCH] x86/oprofile/ppro: Do not use __this_cpu* accessors in preemptible context In-Reply-To: <20171108112438.picwbvlobmzvaonr@pd.tnic> Message-ID: References: <20171107093518.hnvd37aprqwrea6h@wfg-t540p.sh.intel.com> <20171107175307.yl25jewyopgymil4@pd.tnic> <20171108112438.picwbvlobmzvaonr@pd.tnic> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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