Re: [PATCH -mm -v5 0/3] i386/x86_64 boot: 32-bit boot protocol

2007-10-18 Thread Huang, Ying
On Wed, 2007-10-17 at 03:38 -0600, Eric W. Biederman wrote: > Well there actually is no reason to copy the current data into the > zero page. We really should just leave it where it is until the > kernel has managed to bootstrap it's basic services. I think it is safer to copy boot parameters to

Re: [PATCH -mm -v5 0/3] i386/x86_64 boot: 32-bit boot protocol

2007-10-18 Thread Huang, Ying
On Wed, 2007-10-17 at 11:24 +0200, Andi Kleen wrote: > > Can you tell me what that early reservation interface is? What I find in > > x86_64 that does early memory allocation is alloc_low_page, which gets > > non-conflict memory area through e820 map. > > It's a new interface I only recently

Re: [PATCH -mm -v5 0/3] i386/x86_64 boot: 32-bit boot protocol

2007-10-18 Thread Huang, Ying
On Wed, 2007-10-17 at 11:24 +0200, Andi Kleen wrote: Can you tell me what that early reservation interface is? What I find in x86_64 that does early memory allocation is alloc_low_page, which gets non-conflict memory area through e820 map. It's a new interface I only recently wrote:

Re: [PATCH -mm -v5 0/3] i386/x86_64 boot: 32-bit boot protocol

2007-10-18 Thread Huang, Ying
On Wed, 2007-10-17 at 03:38 -0600, Eric W. Biederman wrote: Well there actually is no reason to copy the current data into the zero page. We really should just leave it where it is until the kernel has managed to bootstrap it's basic services. I think it is safer to copy boot parameters to

Re: [PATCH -mm -v5 0/3] i386/x86_64 boot: 32-bit boot protocol

2007-10-17 Thread Eric W. Biederman
"Huang, Ying" <[EMAIL PROTECTED]> writes: > This patchset defines a 32-bit boot protocol for i386/x86_64 platform, > adds an extensible boot parameter passing mechanism, export the boot > parameters via sysfs. > > The patchset has been tested against 2.6.23-rc8-mm2 kernel on x86_64 > and i386. >

Re: [PATCH -mm -v5 0/3] i386/x86_64 boot: 32-bit boot protocol

2007-10-17 Thread Andi Kleen
"Huang, Ying" <[EMAIL PROTECTED]> writes: > On Wed, 2007-10-17 at 10:25 +0200, Andi Kleen wrote: > > "Huang, Ying" <[EMAIL PROTECTED]> writes: > > > > > Do you think it is a good idea to check the collision between setup data > > > and memory area used during kernel boot through bootmem

Re: [PATCH -mm -v5 0/3] i386/x86_64 boot: 32-bit boot protocol

2007-10-17 Thread Huang, Ying
On Wed, 2007-10-17 at 10:25 +0200, Andi Kleen wrote: > "Huang, Ying" <[EMAIL PROTECTED]> writes: > > > Do you think it is a good idea to check the collision between setup data > > and memory area used during kernel boot through bootmem allocator? > > You can't solve this through bootmem because

Re: [PATCH -mm -v5 0/3] i386/x86_64 boot: 32-bit boot protocol

2007-10-17 Thread Andi Kleen
"Huang, Ying" <[EMAIL PROTECTED]> writes: > Do you think it is a good idea to check the collision between setup data > and memory area used during kernel boot through bootmem allocator? You can't solve this through bootmem because x86-64 allocates memory in several places before bootmem (using

Re: [PATCH -mm -v5 0/3] i386/x86_64 boot: 32-bit boot protocol

2007-10-17 Thread Andi Kleen
Huang, Ying [EMAIL PROTECTED] writes: Do you think it is a good idea to check the collision between setup data and memory area used during kernel boot through bootmem allocator? You can't solve this through bootmem because x86-64 allocates memory in several places before bootmem (using

Re: [PATCH -mm -v5 0/3] i386/x86_64 boot: 32-bit boot protocol

2007-10-17 Thread Huang, Ying
On Wed, 2007-10-17 at 10:25 +0200, Andi Kleen wrote: Huang, Ying [EMAIL PROTECTED] writes: Do you think it is a good idea to check the collision between setup data and memory area used during kernel boot through bootmem allocator? You can't solve this through bootmem because x86-64

Re: [PATCH -mm -v5 0/3] i386/x86_64 boot: 32-bit boot protocol

2007-10-17 Thread Andi Kleen
Huang, Ying [EMAIL PROTECTED] writes: On Wed, 2007-10-17 at 10:25 +0200, Andi Kleen wrote: Huang, Ying [EMAIL PROTECTED] writes: Do you think it is a good idea to check the collision between setup data and memory area used during kernel boot through bootmem allocator? You can't

Re: [PATCH -mm -v5 0/3] i386/x86_64 boot: 32-bit boot protocol

2007-10-17 Thread Eric W. Biederman
Huang, Ying [EMAIL PROTECTED] writes: This patchset defines a 32-bit boot protocol for i386/x86_64 platform, adds an extensible boot parameter passing mechanism, export the boot parameters via sysfs. The patchset has been tested against 2.6.23-rc8-mm2 kernel on x86_64 and i386. This

Re: [PATCH -mm -v5 0/3] i386/x86_64 boot: 32-bit boot protocol

2007-10-16 Thread Huang, Ying
On Fri, 2007-10-12 at 13:52 +0800, Huang, Ying wrote: > Known Issues: > > - Where is safe to place the linked list of setup_data? Because the > length of the linked list of setup_data is variable, it can not be > copied into BSS segment of kernel as that of "zero page". We must > find a

Re: [PATCH -mm -v5 0/3] i386/x86_64 boot: 32-bit boot protocol

2007-10-16 Thread Huang, Ying
On Fri, 2007-10-12 at 13:52 +0800, Huang, Ying wrote: Known Issues: - Where is safe to place the linked list of setup_data? Because the length of the linked list of setup_data is variable, it can not be copied into BSS segment of kernel as that of zero page. We must find a safe place

Re: [PATCH -mm -v5 0/3] i386/x86_64 boot: 32-bit boot protocol

2007-10-14 Thread Huang, Ying
Hi, Peter and Andi, Do you think this patch set is ready for merging? Otherwise what I can do to make it ready? Best Regards, Huang Ying On Fri, 2007-10-12 at 13:52 +0800, Huang, Ying wrote: > This patchset defines a 32-bit boot protocol for i386/x86_64 platform, > adds an extensible boot

Re: [PATCH -mm -v5 0/3] i386/x86_64 boot: 32-bit boot protocol

2007-10-14 Thread Huang, Ying
Hi, Peter and Andi, Do you think this patch set is ready for merging? Otherwise what I can do to make it ready? Best Regards, Huang Ying On Fri, 2007-10-12 at 13:52 +0800, Huang, Ying wrote: This patchset defines a 32-bit boot protocol for i386/x86_64 platform, adds an extensible boot

[PATCH -mm -v5 0/3] i386/x86_64 boot: 32-bit boot protocol

2007-10-11 Thread Huang, Ying
This patchset defines a 32-bit boot protocol for i386/x86_64 platform, adds an extensible boot parameter passing mechanism, export the boot parameters via sysfs. The patchset has been tested against 2.6.23-rc8-mm2 kernel on x86_64 and i386. This patchset is based on the proposal of Peter Anvin.

[PATCH -mm -v5 0/3] i386/x86_64 boot: 32-bit boot protocol

2007-10-11 Thread Huang, Ying
This patchset defines a 32-bit boot protocol for i386/x86_64 platform, adds an extensible boot parameter passing mechanism, export the boot parameters via sysfs. The patchset has been tested against 2.6.23-rc8-mm2 kernel on x86_64 and i386. This patchset is based on the proposal of Peter Anvin.