Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761963AbYGBJZi (ORCPT ); Wed, 2 Jul 2008 05:25:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753381AbYGBJZa (ORCPT ); Wed, 2 Jul 2008 05:25:30 -0400 Received: from cn.fujitsu.com ([222.73.24.84]:51482 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1752943AbYGBJZ3 (ORCPT ); Wed, 2 Jul 2008 05:25:29 -0400 Message-ID: <486B490C.3090902@cn.fujitsu.com> Date: Wed, 02 Jul 2008 17:23:24 +0800 From: Lai Jiangshan User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Dmitry Adamushko CC: Ingo Molnar , Heiko Carstens , Peter Zijlstra , Avi Kivity , linux-kernel@vger.kernel.org, Andrew Morton Subject: Re: [BUG] CFS vs cpu hotplug References: <20080619161949.GA11062@osiris.ibm.com> <20080630090744.GB6598@osiris.boeblingen.de.ibm.com> <20080630091711.GA26637@elte.hu> <4869F770.6050103@cn.fujitsu.com> <20080701093124.GC31309@elte.hu> <486B2AB0.1080506@cn.fujitsu.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2078 Lines: 52 Dmitry Adamushko wrote: > 2008/7/2 Lai Jiangshan : >> Ingo Molnar wrote: >>> * Lai Jiangshan wrote: >>> >>>> The following oops still occurred whether this patch is applied or not. >>>> [] notifier_call_chain+0x33/0x5b >>>> [] __raw_notifier_call_chain+0x9/0xb >>>> [] raw_notifier_call_chain+0xf/0x11 >>>> [] _cpu_down+0x191/0x256 >>>> [] cpu_down+0x26/0x36 >>>> [] store_online+0x32/0x75 >>>> [] sysdev_store+0x24/0x26 >>>> [] sysfs_write_file+0xe0/0x11c >>>> [] vfs_write+0xae/0x137 >>>> [] sys_write+0x47/0x70 >>>> [] system_call_after_swapgs+0x7b/0x80 >>> hm, there were multiple problems in this area and a lot of dormant bugs. >>> Do you have this recent upstream commit in your tree: >> Hi, Ingo >> I tested it again with the most recent upstreams(including the >> following patch) committed, the oops still occurred. > > [ taken from the oops ] >> kernel BUG at kernel/sched.c:6133! >> > > is it BUG_ON(rq->nr_running != 0); in your sched.c? yes, I had test it twice yesterday, applied/not applied your patch(no debugging). > > hum, it's line #6134 in the recent sched.c version. So with the recent > version it was "kernel BUG at kernel/sched.c:6134!" right? yes, and applied your's and Zhang's patch as Ingo's advice. > > could you please try to get a crash with my additional debugging patch > (you may find it in this thread) applied? > We should see then all tasks that have been migrated (or failed to be > migrated) during migration_call(CPU_DEAD, ...). > Thank you. I'll test it again with your debugging patch applied and get more info. > TIA, > -- 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/