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

From: Bjorn Helgaas
Date: Mon Apr 02 2007 - 19:04:30 EST


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