Re: [PATCH] Fix NUMA node sizing in nr_free_zone_pages

2005-07-30 Thread Martin J. Bligh
>> We are iterating over all nodes in nr_free_zone_pages(). Because the >> fallback zonelists contain all nodes in the system, and we walk all >> the zonelists, we're counting memory multiple times (once for each >> node). This caused us to make a size estimate of 32GB for an 8GB >> AMD64 box,

Re: [PATCH] Fix NUMA node sizing in nr_free_zone_pages

2005-07-29 Thread Andrew Morton
"Martin J. Bligh" <[EMAIL PROTECTED]> wrote: > > We are iterating over all nodes in nr_free_zone_pages(). Because the > fallback zonelists contain all nodes in the system, and we walk all > the zonelists, we're counting memory multiple times (once for each > node). This caused us to make a size

Re: [PATCH] Fix NUMA node sizing in nr_free_zone_pages

2005-07-29 Thread Andrew Morton
"Martin J. Bligh" <[EMAIL PROTECTED]> wrote: > > We are iterating over all nodes in nr_free_zone_pages(). Because the > fallback zonelists contain all nodes in the system, and we walk all > the zonelists, we're counting memory multiple times (once for each > node). This caused us to make a siz