Re: [PATCH -v7 1/3] x86 boot: setup data

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Huang, Ying <ying.huang@...>
Cc: H. Peter Anvin <hpa@...>, Andi Kleen <ak@...>, Eric W. Biederman <ebiederm@...>, <akpm@...>, Linus Torvalds <torvalds@...>, <linux-kernel@...>
Date: Tuesday, October 23, 2007 - 6:08 pm

Huang, Ying wrote:

As a general comment, I can't say I'm thrilled about sticking the copied
setup data at the end of the initial pagetables.  This is already a
fairly complex area, and changing it touches a surprisingly large number
of places.  I wonder if there isn't a better way to deal with this
(possibly by fixing up the generation of the initial pagetables in the
process).

Or more simply, define a max size for this data, and copy it into an
initdata area (which, being initdata, can be quite large without wasting
lots of memory).


What are the alignment rules for this structure?  Is it always 64-bit
aligned?  What about the relationship of len and data?


Please don't add new duplicated code.  Put this into a common place.


You need to check the boot protocol version before looking at this pointer.


No, use asm-offsets(_32|_64).c


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

Messages in current thread:
[PATCH -v7 1/3] x86 boot: setup data, Huang, Ying, (Tue Oct 23, 4:06 am)
Re: [PATCH -v7 1/3] x86 boot: setup data, Jeremy Fitzhardinge, (Tue Oct 23, 6:08 pm)
Re: [PATCH -v7 1/3] x86 boot: setup data, Andi Kleen, (Tue Oct 23, 7:18 pm)
Re: [PATCH -v7 1/3] x86 boot: setup data, H. Peter Anvin, (Tue Oct 23, 7:55 pm)
Re: [PATCH -v7 1/3] x86 boot: setup data, Andrew Morton, (Wed Oct 24, 6:48 pm)
Re: [PATCH -v7 1/3] x86 boot: setup data, Huang, Ying, (Tue Oct 23, 11:08 pm)
Re: [PATCH -v7 1/3] x86 boot: setup data, H. Peter Anvin, (Tue Oct 23, 6:52 pm)
Re: [PATCH -v7 1/3] x86 boot: setup data, Jeremy Fitzhardinge, (Tue Oct 23, 7:26 pm)
Re: [PATCH -v7 1/3] x86 boot: setup data, H. Peter Anvin, (Tue Oct 23, 6:15 pm)
Re: [PATCH -v7 1/3] x86 boot: setup data, Jeremy Fitzhardinge, (Tue Oct 23, 6:20 pm)
Re: [PATCH -v7 1/3] x86 boot: setup data, H. Peter Anvin, (Tue Oct 23, 6:32 pm)