Linus Torvalds wrote:
On Thu, 23 Feb 2006, Rene Herman wrote:
Okay. I suppose the only other option is to make "physical_start" a variable passed in by the bootloader so that it could make a runtime decision? Ie, place us at min(top_of_mem, 4G) if it cared to. I just grepped for PHYSICAL_START and this didn't look _too_ bad.No can do. You'd have to make the kernel relocatable, and do load-time fixups. Very invasive.
Yes, that wasn't too smart. I believe in principe most of it _could_ be done via some pagetable trickery though, with the kernel still at a fixed virtual address?
Rene. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: Patch to reorder functions in the vmlinux to a defined order
- From: [email protected] (Eric W. Biederman)
- Re: Patch to reorder functions in the vmlinux to a defined order
- From: [email protected] (Eric W. Biederman)
- Re: Patch to reorder functions in the vmlinux to a defined order
- References:
- Patch to make the head.S-must-be-first-in-vmlinux order explicit
- From: Arjan van de Ven <[email protected]>
- Patch to reorder functions in the vmlinux to a defined order
- From: Arjan van de Ven <[email protected]>
- Re: Patch to reorder functions in the vmlinux to a defined order
- From: Andi Kleen <[email protected]>
- Re: Patch to reorder functions in the vmlinux to a defined order
- From: Arjan van de Ven <[email protected]>
- Re: Patch to reorder functions in the vmlinux to a defined order
- From: Linus Torvalds <[email protected]>
- Re: Patch to reorder functions in the vmlinux to a defined order
- From: Rene Herman <[email protected]>
- Re: Patch to reorder functions in the vmlinux to a defined order
- From: Linus Torvalds <[email protected]>
- Re: Patch to reorder functions in the vmlinux to a defined order
- From: Rene Herman <[email protected]>
- Re: Patch to reorder functions in the vmlinux to a defined order
- From: Linus Torvalds <[email protected]>
- Patch to make the head.S-must-be-first-in-vmlinux order explicit
- Prev by Date: Re: [PATCH] The idle notifier chain should be atomic
- Next by Date: Re: Status of X86_P4_CLOCKMOD?
- Previous by thread: Re: Patch to reorder functions in the vmlinux to a defined order
- Next by thread: Re: Patch to reorder functions in the vmlinux to a defined order
- Index(es):