From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753372Ab3KIOKw (ORCPT ); Sat, 9 Nov 2013 09:10:52 -0500 Received: from merlin.infradead.org ([205.233.59.134]:39569 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752601Ab3KIOKv (ORCPT ); Sat, 9 Nov 2013 09:10:51 -0500 Date: Sat, 9 Nov 2013 15:10:39 +0100 From: Peter Zijlstra To: Frederic Weisbecker Cc: Vince Weaver , Steven Rostedt , LKML , Ingo Molnar , Dave Jones Subject: Re: perf/tracepoint: another fuzzer generated lockup Message-ID: <20131109141039.GM16117@laptop.programming.kicks-ass.net> References: <20131108200244.GB14606@localhost.localdomain> <20131108204839.GD14606@localhost.localdomain> <20131108223657.GF14606@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131108223657.GF14606@localhost.localdomain> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 08, 2013 at 11:36:58PM +0100, Frederic Weisbecker wrote: > [ 237.627769] perf samples too long (3397569 > 2500), lowering kernel.perf_event_max_sample_rate to 50000 > [ 237.637124] INFO: NMI handler (perf_event_nmi_handler) took too long to run: 444.233 msecs > > 444 msecs is huge. Be glad your system lived to tell about it ;-) Calling printk() from NMI context is Russian roulette; I'm still waiting for the first report it actually locked up :-) That said, I'm not sure what kernel you're running, but there were some issues with time-keeping hereabouts, but more importantly that second timing includes the printk() call of the first -- so that's always going to be fucked.