From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261857AbUHJIZ3 (ORCPT ); Tue, 10 Aug 2004 04:25:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261239AbUHJIZ3 (ORCPT ); Tue, 10 Aug 2004 04:25:29 -0400 Received: from holomorphy.com ([207.189.100.168]:58342 "EHLO holomorphy.com") by vger.kernel.org with ESMTP id S261857AbUHJIXo (ORCPT ); Tue, 10 Aug 2004 04:23:44 -0400 Date: Tue, 10 Aug 2004 01:23:40 -0700 From: William Lee Irwin III To: Ingo Molnar , Jesse Barnes , Andrew Morton , linux-kernel@vger.kernel.org, Nick Piggin Subject: Re: 2.6.8-rc3-mm2 Message-ID: <20040810082340.GH11200@holomorphy.com> Mail-Followup-To: William Lee Irwin III , Ingo Molnar , Jesse Barnes , Andrew Morton , linux-kernel@vger.kernel.org, Nick Piggin References: <200408091132.39752.jbarnes@engr.sgi.com> <200408091217.50786.jbarnes@engr.sgi.com> <20040809195323.GU11200@holomorphy.com> <20040809204357.GX11200@holomorphy.com> <20040809211042.GY11200@holomorphy.com> <20040809224546.GZ11200@holomorphy.com> <20040810063445.GE11200@holomorphy.com> <20040810080430.GA25866@elte.hu> <20040810080801.GA26014@elte.hu> <20040810081752.GG11200@holomorphy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040810081752.GG11200@holomorphy.com> User-Agent: Mutt/1.5.6+20040722i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org At some point in the past, someone wrote: >>> is keventd_up() true during normal SMP bootup? [...] On Tue, Aug 10, 2004 at 10:08:01AM +0200, Ingo Molnar wrote: >> it ought to be up at this point - smp_init() is done from the init >> thread and the scheduler is up and running. On Tue, Aug 10, 2004 at 01:17:52AM -0700, William Lee Irwin III wrote: > Well, I'm working backward from an "unacceptable fix", where I changed > a bunch of things defensively at once and (of course) it was adding the > printk()'s that actually fixed things. > One of those changes was to ditch the schedule_work() shenanigans in > do_boot_cpu(), which was actually meant to rule out the initializers > for the struct create_idle getting miscompiled or otherwise not > behaving as I expected. The "unacceptable fix" is now down to one line. So, what I need to figure out now is what the printk did. --- mm2-2.6.8-rc3/arch/ia64/kernel/smpboot.c.orig 2004-08-10 13:42:38.000000000 -0700 +++ mm2-2.6.8-rc3/arch/ia64/kernel/smpboot.c 2004-08-10 01:03:51.527428678 -0700 @@ -671,6 +671,7 @@ return 0; } /* Processor goes to start_secondary(), sets online flag */ + printk("about to call do_boot_cpu(%d, %d)\n", sapicid, cpu); ret = do_boot_cpu(sapicid, cpu); if (ret < 0) return ret;