Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755361AbaBTTT3 (ORCPT ); Thu, 20 Feb 2014 14:19:29 -0500 Received: from mail-qc0-f182.google.com ([209.85.216.182]:51808 "EHLO mail-qc0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754933AbaBTTT1 (ORCPT ); Thu, 20 Feb 2014 14:19:27 -0500 Date: Thu, 20 Feb 2014 14:21:26 -0500 (EST) From: Vince Weaver To: Vince Weaver cc: Peter Zijlstra , Dave Jones , Linux Kernel , Ingo Molnar , Paul Mackerras , Steven Rostedt Subject: Re: x86_pmu_start WARN_ON. In-Reply-To: Message-ID: References: <20140217152859.GF15586@twins.programming.kicks-ass.net> <20140219101949.GG15586@twins.programming.kicks-ass.net> <20140220100830.GN6835@laptop.programming.kicks-ass.net> <20140220182300.GN9987@twins.programming.kicks-ass.net> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) 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 Thu, 20 Feb 2014, Vince Weaver wrote: > Might be relevant: check the last_cpu values. Right before the above > it looks like the thread gets moved from CPU 1 to CPU 0 > (possibly as a result of the long chain started with the > close() of the tracepoint event), > so the problem NMI watchdog event being enabled is a different one than > the one that was disabled just before. so is this a false warning? If you get scheduled to a new CPU and there's an already running CPU-wide event, is that OK? Or should x86_pmu_disable() be setting PERF_HES_STOPPED on all events? It looks like other architectures are (such as armpmu_stop() ). Vince -- 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/