login
Header Space

 
 

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

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ben Hutchings <bhutchings@...>, <linux-kernel@...>, Ingo Molnar <mingo@...>, Arjan van de Ven <arjan@...>
Date: Friday, April 18, 2008 - 3: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, 7:44 am)
Re: [PATCH][RFC] Add default CPU topology information, Andrew Morton, (Fri Apr 18, 3:10 am)
Re: [PATCH][RFC] Add default CPU topology information, Ben Hutchings, (Fri Apr 18, 8:24 am)
Re: [PATCH][RFC] Add default CPU topology information, Andrew Morton, (Fri Apr 18, 3:32 am)
Re: [PATCH][RFC] Add default CPU topology information, Andrew Morton, (Fri Apr 18, 2:45 am)
Re: [PATCH][RFC] Add default CPU topology information, Ben Hutchings, (Fri Apr 18, 8:10 am)
Re: [PATCH][RFC] Add default CPU topology information, Andrew Morton, (Tue Apr 15, 3:42 pm)
Re: [PATCH][RFC] Add default CPU topology information, Ingo Molnar, (Wed Apr 16, 8:51 am)
Re: [PATCH][RFC] Add default CPU topology information, Andrew Morton, (Wed Apr 16, 3:07 pm)
Re: [PATCH][RFC] Add default CPU topology information, Ingo Molnar, (Mon Mar 31, 8:35 am)
speck-geostationary