Re: [PATCH 10/28] i386: map enough initial memory to create lowmem mappings

Eric W. Biederman
2007-04-23T18:02:43Z

"H. Peter Anvin" <hpa@zytor.com> writes:

> Agreed. However, saying that your patch shouldn't go into the mainline kernel
> until that has been fixed is spurious and wrong. It fixes a real problem with
> minimal risk.

For a stable and frozen kernel it is probably the best we can do.

However the code is based on confusion of what should be happening and
it increases the complexity of the code and pushes us towards the edge of
code that is so crufty it is impossible to maintain.

We need to simplify this mess not make it more convoluted.

Did anyone else notice that if we don't have PAE we continue to use
the initial page tables 4K page mappings of the kernel?

This probably explains why experiments to 4MB align the i386 kernel
to improve performance failed.

Eric