mm: numa: Account for failed allocations and isolations as migration failures
authorMel Gorman <mgorman@suse.de>
Tue, 27 Nov 2012 10:31:44 +0000 (10:31 +0000)
committerMel Gorman <mgorman@suse.de>
Tue, 11 Dec 2012 14:42:58 +0000 (14:42 +0000)
commit7548341b28956ccd35a63ab12f01d8541041aa70
treeefa2a33587ac785c6462fee04146c52258740e66
parent220018d388b8ab1fca1c5f0c6474bab47ad2c9c0
mm: numa: Account for failed allocations and isolations as migration failures

Subject says it all. Allocation failures and a failure to isolate should
be accounted as a migration failure. This is partially another
difference between base page and transhuge page migration. A base page
migration makes multiple attempts for these conditions before it would
be accounted for as a failure.

Signed-off-by: Mel Gorman <mgorman@suse.de>
mm/migrate.c