Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL

Bjorn Helgaas
2007-04-02T23:04:06Z

On Monday 02 April 2007 09:37, Christoph Lameter wrote:
> On Sun, 1 Apr 2007, Andi Kleen wrote:
> > Hmm, this means there is at least 2MB worth of struct page on every node?
> > Or do you have overlaps with other memory (I think you have)
> > In that case you have to handle the overlap in change_page_attr()
>
> Correct. 2MB worth of struct page is 128 mb of memory. Are there nodes
> with smaller amounts of memory?

Do you deal with max_addr= and mem=?

RHEL4 (2.6.9) blows up if max_addr= happens to leave you with CPU-only
nodes. So hopefully you can deal with arbitrary-sized nodes caused by
max_addr= or mem=.