Re: [PATCH 1/3] Reintroduce zone_reclaim_interval for when zone_reclaim()scans and fails to avoid CPU spinning at 100% on NUMA

From: Rik van Riel
Date: Mon Jun 08 2009 - 09:32:21 EST


Mel Gorman wrote:

The scanning occurs because zone_reclaim() cannot tell
in advance the scan is pointless because the counters do not distinguish
between pagecache pages backed by disk and by RAM.

Yes it can. Since 2.6.27, filesystem backed and swap/ram backed
pages have been living on separate LRU lists. This allows you to
fix the underlying problem, instead of having to add a retry
interval.

--
All rights reversed.
--
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/