On Thu, Mar 30, 2000 at 02:22:06AM +0200, Andrea Arcangeli wrote:
> half of the zero page is used to pass the kernel params.

No, half of *a* page is used to pass the kernel params.  It needn't
be the zero page.  It just happened to be in the past.

> We rely on having
> the zero page that nobody is using before we get the parameter to write
> the stuff there

It's all copied away elsewhere early in setup_arch.  We need the
zero page zeroed at some point.

> Also assuming all is fine by making it dynamic I don't really see what you
> buy by making such offsets variable. That's core stuff and it's fine to
> have it hardcoded.

It's even finer to have the linker place them so that the only thing
we need think about when relocating the kernel is the offset used in
vmlinux.lds.


r~

Reply via email to