Re: [PATCH] Fix NUMA node sizing in nr_free_zone_pages

From: Andrew Morton
Date: Fri Jul 29 2005 - 15:33:28 EST

"Martin J. Bligh" <mbligh@xxxxxxxxxx> 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 estimate of 32GB for an 8GB
> AMD64 box, which makes all the dirty ratio calculations, etc incorrect.

Thanks, Martin.

Just for reference: this patch addresses the "Memory pressure handling with
iSCSI" problems which Badari Pulavarty reported.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at