Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932520Ab3COUt3 (ORCPT ); Fri, 15 Mar 2013 16:49:29 -0400 Received: from www.linutronix.de ([62.245.132.108]:59672 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932386Ab3COUt2 (ORCPT ); Fri, 15 Mar 2013 16:49:28 -0400 Date: Fri, 15 Mar 2013 21:49:25 +0100 (CET) From: Thomas Gleixner To: Linus Torvalds cc: Stephane Eranian , Linux Kernel Mailing List , Peter Zijlstra , Ingo Molnar , Andrew Morton , Arnaldo Carvalho de Melo , Jiri Olsa , Andi Kleen Subject: Re: [PATCH] perf,x86: fix kernel crash with PEBS/BTS after suspend/resume In-Reply-To: Message-ID: References: <20130315132607.GA4565@quad> User-Agent: Alpine 2.02 (LFD 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 905 Lines: 24 On Fri, 15 Mar 2013, Linus Torvalds wrote: > On Fri, Mar 15, 2013 at 6:26 AM, Stephane Eranian wrote: > > > > This patch fixes a kernel crash when using precise sampling (PEBS) > > after a suspend/resume. > > Yup, works. Applied. > > Can we please get rid of the crazy CPU notifier crap from the perf > code, and do this like we do most other wrmsr's etc? Doing > > git grep "case CPU_" arch/x86/kernel/cpu > > shows that the perf layer seems to be full of this kind of BS. This is > all CPU state, it should be initialized by the regular CPU > initialization code, not hooked up with some random callbacks. It's on my list .... -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/