Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into per cpu area

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Mike Travis <travis@...>
Cc: H. Peter Anvin <hpa@...>, Jeremy Fitzhardinge <jeremy@...>, Christoph Lameter <cl@...>, Linux Kernel Mailing List <linux-kernel@...>, Ingo Molnar <mingo@...>, Andrew Morton <akpm@...>, Jack Steiner <steiner@...>
Date: Wednesday, July 9, 2008 - 6:38 pm

Mike Travis <travis@sgi.com> writes:


Just passing early_printk=xxx on the command line should have that effect.
Although I do admit you have to be a little bit into the boot before early_printk
is setup.


Is stack overflow the only problem you are seeing or are there still other mysteries?


That usually indicates you are taking an exception during boot not that you
have received an external interrupt.  Something like a page fault or a
division by 0 error.


Still the call chain depth shouldn't really be changing.  So why should it
matter?  Ah.  The high cpu count is growing cpumask_t so when you put
it on the stack.  That makes sense.  So what stars out as a 4 byte
variable on the stack in a normal setup winds up being a 1k variable
with 4k cpus.


Reasonable.  The practical problem is you are mixing a lot of changes
simultaneously and it confuses things.  Compiling with NR_CPUS=4096
and working out the bugs from a growing cpumask_t, putting the per cpu
area in a zero based segment, and putting putting the pda into the
per cpu area all at the same time.

Who knows maybe the only difference between 4.2.0 and 4.2.4 is that
4.2.4 optimizes it's stack usage a little better and you don't see
a stack overflow.

It would be very very good if we could separate out these issues
especially the segment for the per cpu variables.  We need something
like that.

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

Messages in current thread:
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Jeremy Fitzhardinge, (Fri Jun 20, 1:25 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Christoph Lameter, (Fri Jun 20, 1:48 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Jeremy Fitzhardinge, (Fri Jun 20, 2:37 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Eric W. Biederman, (Fri Jun 20, 4:25 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Jeremy Fitzhardinge, (Mon Jun 30, 1:43 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Eric W. Biederman, (Mon Jun 30, 4:50 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Jeremy Fitzhardinge, (Mon Jun 30, 5:08 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Jeremy Fitzhardinge, (Tue Jul 1, 1:26 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Jeremy Fitzhardinge, (Tue Jul 1, 5:10 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Eric W. Biederman, (Tue Jul 1, 11:08 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Jeremy Fitzhardinge, (Tue Jul 1, 5:52 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Eric W. Biederman, (Thu Jul 3, 12:34 am)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Eric W. Biederman, (Wed Jul 9, 6:38 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Jeremy Fitzhardinge, (Tue Jul 8, 7:49 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Jeremy Fitzhardinge, (Fri Jul 25, 4:12 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Jeremy Fitzhardinge, (Fri Jul 25, 4:43 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Eric W. Biederman, (Tue Jul 1, 10:50 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Jeremy Fitzhardinge, (Tue Jul 1, 12:27 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Jeremy Fitzhardinge, (Mon Jun 23, 1:33 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Jeremy Fitzhardinge, (Mon Jun 23, 3:41 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Christoph Lameter, (Fri Jun 20, 4:55 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Christoph Lameter, (Fri Jun 20, 2:51 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Jeremy Fitzhardinge, (Fri Jun 20, 3:04 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Eric W. Biederman, (Fri Jun 20, 3:43 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Christoph Lameter, (Fri Jun 20, 4:37 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Jeremy Fitzhardinge, (Fri Jun 20, 2:40 pm)