Re: [PATCH][RFC] Add default CPU topology information

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morton
Date: Friday, April 18, 2008 - 12:32 am

On Fri, 18 Apr 2008 00:10:24 -0700 Andrew Morton <akpm@linux-foundation.org> wrote:


ooh, I just discovered kstack=.  That should be hoisted up to core kernel
then pushed out to other architectures, not hidden in x86_64 code.

But first I guess it should be make to work - it fails miserably, because
only one of our seventy fix stack-dumping functions actually looks at it.


This:

--- a/arch/x86/kernel/traps_64.c~a
+++ a/arch/x86/kernel/traps_64.c
@@ -426,7 +426,7 @@ _show_stack(struct task_struct *tsk, str
 		printk(" %016lx", *stack++);
 		touch_nmi_watchdog();
 	}
-	show_trace(tsk, regs, sp, bp);
+//	show_trace(tsk, regs, sp, bp);
 }
 
 void show_stack(struct task_struct *tsk, unsigned long * sp)


works heaps better.

Here's the rest of your oops: http://userweb.kernel.org/~akpm/p4175279.jpg

I'd be suspecting startup ordering problems - maybe the page allocator
isn't ready yet.

otoh, it _should_ be ready by the time we run init_sched_domains().

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH][RFC] Add default CPU topology information, Ben Hutchings, (Mon Mar 31, 4:44 am)
Re: [PATCH][RFC] Add default CPU topology information, Ingo Molnar, (Mon Mar 31, 5:35 am)
Re: [PATCH][RFC] Add default CPU topology information, Andrew Morton, (Tue Apr 15, 12:42 pm)
Re: [PATCH][RFC] Add default CPU topology information, Ingo Molnar, (Wed Apr 16, 5:51 am)
Re: [PATCH][RFC] Add default CPU topology information, Andrew Morton, (Wed Apr 16, 12:07 pm)
Re: [PATCH][RFC] Add default CPU topology information, Andrew Morton, (Thu Apr 17, 11:45 pm)
Re: [PATCH][RFC] Add default CPU topology information, Andrew Morton, (Fri Apr 18, 12:10 am)
Re: [PATCH][RFC] Add default CPU topology information, Andrew Morton, (Fri Apr 18, 12:32 am)
Re: [PATCH][RFC] Add default CPU topology information, Ben Hutchings, (Fri Apr 18, 5:10 am)
Re: [PATCH][RFC] Add default CPU topology information, Ben Hutchings, (Fri Apr 18, 5:24 am)