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: Eric W. Biederman <ebiederm@...>, H. Peter Anvin <hpa@...>, Christoph Lameter <cl@...>, Linux Kernel Mailing List <linux-kernel@...>, Ingo Molnar <mingo@...>, Andrew Morton <akpm@...>, Jack Steiner <steiner@...>
Date: Friday, July 25, 2008 - 4:43 pm

Mike Travis wrote:

If it's just a static initialization, then it should be fine.  But some 
equivalent of your head_64.S changes are needed to actually set things up?



No, it doesn't.  It bypasses all that startup code.  Aside from the few 
instructions in xen-head.S, xen_start_kernel() is the first thing to get 
run.

But when bringing up a secondary cpu, where does the new percpu memory 
actually get allocated?


Yes, it needn't be in the asm code.  I'll work out what to do.  Looks 
like I just need to do an appropriate wrmsr(MSR_GS_BASE, ).

    J
--
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 ..., 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)