Re: [RFC] x86 ELF bootable kernels/Linux booting Linux/LinuxBIOS

From: H. Peter Anvin (hpa@zytor.com)
Date: Mon Feb 04 2002 - 16:08:22 EST


Werner Almesberger wrote:

>
> Well, it keeps things simple for the kernel, and bootimg(8) needs
> to know the target architecture anyway. But there isn't really a
> design reason why it would have to use pages, agreed.
>

I looked at this point at some time, and I found that it made it a lot
easier to write code to permute memory arbitrarily, as may be required.
  The reason is that you really want to keep an array that's O(N) in the
size of memory to keep track of where things are, and in order to do that,
realistically, you need to have some reasonably large granularity -- 4K
pages are just about right.

Of course, maybe I was just using a dumb algorithm... :)

        -hpa

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



This archive was generated by hypermail 2b29 : Thu Feb 07 2002 - 21:00:37 EST