commit | d395b73428d9748fb70b33477c9b2acae62f360a | [log] [tgz] |
---|---|---|
author | Mel Gorman <[email protected]> | Tue Jun 16 15:32:09 2009 -0700 |
committer | Linus Torvalds <[email protected]> | Tue Jun 16 19:47:34 2009 -0700 |
tree | 942bcfe36894ca8e13e6773c4713442a58a44a6d | |
parent | da456f14d2f2d7350f2b9440af79c85a34c7eed5 [diff] |
page allocator: do not setup zonelist cache when there is only one node There is a zonelist cache which is used to track zones that are not in the allowed cpuset or found to be recently full. This is to reduce cache footprint on large machines. On smaller machines, it just incurs cost for no gain. This patch only uses the zonelist cache when there are NUMA nodes. Signed-off-by: Mel Gorman <[email protected]> Reviewed-by: Christoph Lameter <[email protected]> Cc: KOSAKI Motohiro <[email protected]> Cc: Pekka Enberg <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Nick Piggin <[email protected]> Cc: Dave Hansen <[email protected]> Cc: Lee Schermerhorn <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>