mm: migrate: Drop the misplaced pages reference count if the target node is full
authorMel Gorman <mgorman@suse.de>
Tue, 27 Nov 2012 14:03:05 +0000 (14:03 +0000)
committerMel Gorman <mgorman@suse.de>
Tue, 11 Dec 2012 14:42:42 +0000 (14:42 +0000)
commit149c33e1c98f83050870514f380902dc6d617bd5
tree5aaf7433c2de5f3176880835013049ccfbe7af73
parent7039e1dbec6eeaa8ecab43a82d6589eeced995c3
mm: migrate: Drop the misplaced pages reference count if the target node is full

If we have to avoid migrating to a node that is nearly full, put page
and return zero.

Signed-off-by: Hillf Danton <dhillf@gmail.com>
Signed-off-by: Mel Gorman <mgorman@suse.de>
mm/migrate.c