Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756218Ab1BJTI4 (ORCPT ); Thu, 10 Feb 2011 14:08:56 -0500 Received: from mx1.redhat.com ([209.132.183.28]:46189 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751334Ab1BJTIz (ORCPT ); Thu, 10 Feb 2011 14:08:55 -0500 Date: Thu, 10 Feb 2011 17:08:43 -0200 From: Arnaldo Carvalho de Melo To: Arun Sharma Cc: Peter Zijlstra , Linux Kernel Mailing List , linux-perf-users@vger.kernel.org Subject: Re: 2.6.37 kernel warning in perf_events code Message-ID: <20110210190843.GE20676@ghostprotocols.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1708 Lines: 43 Em Wed, Feb 09, 2011 at 06:50:09PM -0800, Arun Sharma escreveu: > [ Not sure if this is known and fixed in newer kernels. My machine > becomes unusable after this warning triggers ] > > perf record -g -p cs -o csw.data -- sleep 3 What kernel are you using? Peter, rings any bells? - Arnaldo > Feb 7 15:28:36 localhost kernel: WARNING: at kernel/perf_event.c:1302 > task_ctx_sched_out+0x45/0x67() > .. > Feb 7 15:28:36 localhost kernel: [] > warn_slowpath_null+0x15/0x17 > Feb 7 15:28:36 localhost kernel: [] > task_ctx_sched_out+0x45/0x67 > Feb 7 15:28:36 localhost kernel: [] > task_ctx_sched_out+0x45/0x67 > Feb 7 15:28:36 localhost kernel: [] > perf_event_exit_task+0xca/0x196 > Feb 7 15:28:36 localhost kernel: [] > perf_event_exit_task+0xca/0x196 > Feb 7 15:28:36 localhost kernel: [] do_exit+0x2c5/0x6e6 > Feb 7 15:28:36 localhost kernel: [] do_exit+0x2c5/0x6e6 > Feb 7 15:28:36 localhost kernel: [] complete_and_exit+0x0/0x1e > Feb 7 15:28:36 localhost kernel: [] complete_and_exit+0x0/0x1e > Feb 7 15:28:36 localhost kernel: [] > system_call_fastpath+0x16/0x1b > Feb 7 15:28:36 localhost kernel: [] > system_call_fastpath+0x16/0x1b > > > 1301 > 1302 if (WARN_ON_ONCE(ctx != cpuctx->task_ctx)) > 1303 return; > > -Arun -- 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/