Re: [PATCH 12/19] mm: migrate: Introduce migrate_misplaced_page()

From: Rik van Riel
Date: Tue Nov 06 2012 - 14:08:02 EST


On 11/06/2012 04:14 AM, Mel Gorman wrote:
From: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>

Note: This was originally based on Peter's patch "mm/migrate: Introduce
migrate_misplaced_page()" but borrows extremely heavily from Andrea's
"autonuma: memory follows CPU algorithm and task/mm_autonuma stats
collection". The end result is barely recognisable so signed-offs
had to be dropped. If original authors are ok with it, I'll
re-add the signed-off-bys.

Add migrate_misplaced_page() which deals with migrating pages from
faults.

Based-on-work-by: Lee Schermerhorn <Lee.Schermerhorn@xxxxxx>
Based-on-work-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
Based-on-work-by: Andrea Arcangeli <aarcange@xxxxxxxxxx>
Signed-off-by: Mel Gorman <mgorman@xxxxxxx>

Excellent, this avoids the ugliness in Peter's
approach, and the hard to read maze of functions
from Andrea's tree.

Reviewed-by: Rik van Riel <riel@xxxxxxxxxx>


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