On 12/13/2013 09:10 AM, Mel Gorman wrote: > zone_local is using node_distance which is a more expensive call than > necessary. On x86, it's another function call in the allocator fast path > and increases cache footprint. This patch makes the assumption zones on a > local node will share the same node ID. The necessary information should > already be cache hot. > > Signed-off-by: Mel Gorman <mgorman@xxxxxxx> Acked-by: Rik van Riel <riel@xxxxxxxxxx> -- All rights reversed -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>