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

From: Linus Torvalds
Date: Fri Feb 24 2006 - 12:24:51 EST




On Fri, 24 Feb 2006, Eric W. Biederman wrote:
>
> > To my handwaving ears end of the address space sounds very good though. Is there
> > currently any pressure on VMALLOC_RESERVE (128M)? Teaching the linker appears to
> > be a matter of changing __KERNEL_START. That leaves actually mapping ourselves
> > there, and... more invasiveness?
>
> __pa stops working on kernel addresses.

That's not the issue.

The real issue is the _physical_ address. Nothing else matters.

If the TLB splitting on the fixed MTRRs is an issue, it depends entirely
on what physical address the kernel resides in, and the virtual address is
totally inconsequential.

So playing games with virtual mapping has absolutely no upsides, and it
definitely has downsides.

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/