On 11/13/2012 06:12 AM, Mel Gorman wrote:
The pte_same check after a misplaced page is successfully migrated will never succeed and force a double fault to fix it up as pointed out by Rik van Riel. This was the "safe" option but it's expensive. This patch uses the migration allocation callback to record the location of the newly migrated page. If the page is the same when the PTE lock is reacquired it is assumed that it is safe to complete the pte_numa fault without incurring a double fault. Signed-off-by: Mel Gorman <mgorman@xxxxxxx>
Reviewed-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>