Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754931AbcCRIuu (ORCPT ); Fri, 18 Mar 2016 04:50:50 -0400 Received: from www.linutronix.de ([62.245.132.108]:35694 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752477AbcCRIrw (ORCPT ); Fri, 18 Mar 2016 04:47:52 -0400 Date: Fri, 18 Mar 2016 09:45:30 +0100 (CET) From: Thomas Gleixner To: Peter Zijlstra cc: kan.liang@intel.com, ak@linux.intel.com, eranian@google.com, mingo@redhat.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] x86/perf/intel/uncore: Make Intel uncore modular In-Reply-To: <20160318083236.GE6344@twins.programming.kicks-ass.net> Message-ID: References: <1458218055-25920-1-git-send-email-kan.liang@intel.com> <20160318083236.GE6344@twins.programming.kicks-ass.net> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) 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,URIBL_BLOCKED=0.001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 441 Lines: 13 On Fri, 18 Mar 2016, Peter Zijlstra wrote: > On Thu, Mar 17, 2016 at 05:34:14AM -0700, kan.liang@intel.com wrote: > > +static void __exit intel_uncore_exit(void) > > +{ > > + cpu_notifier_register_done(); > > Did you even test this? That should be _begin(); That's my fault. I had this in my proof of concept patch and it actually works for some reason. By some definition of works: i.e. it does not explode in your face right away....