Re: [PATCH 16/31] mm: numa: Only call task_numa_placement for misplacedpages

From: Rik van Riel
Date: Wed Nov 14 2012 - 12:58:55 EST


On 11/13/2012 06:12 AM, Mel Gorman wrote:
task_numa_placement is potentially very expensive so limit it to being
called when a page is misplaced. How necessary this is depends on
the placement policy.

Signed-off-by: Mel Gorman <mgorman@xxxxxxx>

That reads like a premature optimization :)

--
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/