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

From: Huang, Ying
Date: Tue Oct 16 2007 - 22:01:50 EST


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 for it, where it will not be overwritten by kernel
> during booting up. The i386 kernel will overwrite some pages after
> _end. The x86_64 kernel will overwrite some pages from 0x1000 on.

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? If
any memory area used by setup data is reserved in bootmem allocator by
some other kernel subsystem, there is a collision, otherwise, the setup
data should be safe.

Best Regards,
Huang Ying
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/