From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758971AbaJaMKO (ORCPT ); Fri, 31 Oct 2014 08:10:14 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:51875 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757934AbaJaMKM (ORCPT ); Fri, 31 Oct 2014 08:10:12 -0400 Date: Fri, 31 Oct 2014 13:10:08 +0100 From: Peter Zijlstra To: Fengguang Wu Cc: LKP , linux-kernel@vger.kernel.org, Fenghua Yu , Hidetoshi Seto Subject: Re: [rfcomm_run] WARNING: CPU: 0 PID: 95 at kernel/sched/core.c:7312 __might_sleep() Message-ID: <20141031121008.GK10501@worktop.programming.kicks-ass.net> References: <20141027130621.GA6336@wfg-t540p.sh.intel.com> <20141027133627.GH3337@twins.programming.kicks-ass.net> <20141027140325.GA15725@wfg-t540p.sh.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141027140325.GA15725@wfg-t540p.sh.intel.com> User-Agent: Mutt/1.5.22.1 (2013-10-16) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 27, 2014 at 10:03:25PM +0800, Fengguang Wu wrote: > On Mon, Oct 27, 2014 at 02:36:27PM +0100, Peter Zijlstra wrote: > > On Mon, Oct 27, 2014 at 09:06:21PM +0800, Fengguang Wu wrote: > > > Hi Peter, > > > > > > FYI, this bug seems still there on v3.18-rc2. > > > > Oh, right, I commented out that patch and the audit one because I was > > waiting for some feedback. Lemme go prod people. > > One more warning, looks like triggered by thermal_apic_exit. Authors CCed. > > [ 29.107798] Running tests on trace events: > [ 29.108302] Testing event thermal_apic_exit: > [ 29.143786] ------------[ cut here ]------------ > [ 29.144489] WARNING: CPU: 1 PID: 101 at kernel/sched/core.c:7187 __might_sleep+0xb9/0x100() > [ 29.145781] do not call blocking ops when !TASK_RUNNING; state=1 set at [] event_test_thread+0x58/0x92 > [ 29.147139] Modules linked in: > [ 29.147604] CPU: 1 PID: 101 Comm: test-events Not tainted 3.17.0-rc6-01872-ga0d2c46 #17 > [ 29.148646] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.7.5-20140531_083030-gandalf 04/01/2014 > [ 29.149969] 00000001 00000000 ffffffff cbc4fe5c c17ef50f cbc4fea4 00000001 00000065 > [ 29.151143] cbc4fe78 c10689d7 00001c13 c10a5f59 00000001 00000000 00000029 cbc4fe90 > [ 29.152343] c1068a1b 00000009 cbc4fe88 c1b5cc24 cbc4fea4 cbc4fec4 c10a5f59 c1b5c9b0 > [ 29.153511] Call Trace: > [ 29.153859] [] dump_stack+0x78/0xa8 > [ 29.154448] [] warn_slowpath_common+0x87/0xa0 > [ 29.155119] [] ? __might_sleep+0xb9/0x100 > [ 29.155706] [] warn_slowpath_fmt+0x2b/0x30 > [ 29.164357] [] __might_sleep+0xb9/0x100 > [ 29.164935] [] ? event_test_thread+0x58/0x92 > [ 29.165541] [] ? event_test_thread+0x58/0x92 > [ 29.166154] [] down_read+0x1c/0x50 > [ 29.166660] [] exit_signals+0x1f/0x1d0 > [ 29.167215] [] do_exit+0x1bf/0x13a0 > [ 29.167748] [] ? event_test_stuff+0x6c/0x6c > [ 29.168434] [] ? kthread_should_stop+0x8/0x20 > [ 29.169145] [] ? event_test_stuff+0x6c/0x6c > [ 29.169829] [] kthread+0xe4/0x110 > [ 29.170397] [] ? event_test_stuff+0x6c/0x6c > [ 29.171082] [] ? push_dl_task+0x50/0x5a0 > [ 29.171759] [] ret_from_kernel_thread+0x21/0x30 > [ 29.172496] [] ? insert_kthread_work+0x110/0x110 > [ 29.173234] ---[ end trace 12bb28a4b269a09b ]--- > [ 29.173913] test-events (101) used greatest stack depth: 6712 bytes left Hmm, confusing that, did that tree include: fe0e01c77dd9 ("tracing: Robustify wait loop") ?