Re: [PATCH 16/31] mm: numa: Only call task_numa_placement formisplaced pages

From: Mel Gorman
Date: Wed Nov 14 2012 - 13:18:12 EST


On Wed, Nov 14, 2012 at 12:58:37PM -0500, Rik van Riel wrote:
> 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 :)
>

Hah, touche.

Will shuffle its location in the series.

--
Mel Gorman
SUSE Labs
--
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/