Re: Patch to reorder functions in the vmlinux to a defined order

From: Linus Torvalds
Date: Thu Feb 23 2006 - 18:17:59 EST




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.

It's certainly _possible_, but it's a whole new stage in the boot, one
that we've never done before.

Linus
-
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/