lkml.org 
[lkml]   [2004]   [Aug]   [10]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateTue, 10 Aug 2004 01:23:40 -0700
FromWilliam Lee Irwin III <>
SubjectRe: 2.6.8-rc3-mm2
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;
-
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/
\
 
 \ /
  Last update: 2005-03-22 14:05    [from the cache]
©2003-2008