Re: pte_addr_t size reduction for 64 GB case?

From: Rik van Riel
Date: Wed May 19 2004 - 06:26:25 EST


On 19 May 2004, Albert Cahalan wrote:

> When handling 64 GB on i386, pte_addr_t really only
> needs 33 bits to find the PTE. It sure doesn't need
> the full 64 bits it is using.

Alternatively, limit the amount of memory supported to
32GB ;)

With only 1GB of lowmem you can't support much more
than that anyway. The RHEL3 -smp kernel limits itself
to 32GB in order to have a smaller pte_addr_t.

For larger systems there's the -hugemem kernel, which
has Ingo's 4:4 split enabled.

--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

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