]> git.baikalelectronics.ru Git - kernel.git/commit
mm: numa: avoid unnecessary work on the failure path
authorMel Gorman <mgorman@suse.de>
Thu, 19 Dec 2013 01:08:39 +0000 (17:08 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 19 Dec 2013 03:04:51 +0000 (19:04 -0800)
commit643b1853120b5b7a6bfc2dff59b33c0e9ef04fb3
tree989a782b069c484155770d122026ce2f447e8a2a
parent91220310e4fc8877af8a51428ac6464886eef161
mm: numa: avoid unnecessary work on the failure path

If a PMD changes during a THP migration then migration aborts but the
failure path is doing more work than is necessary.

Signed-off-by: Mel Gorman <mgorman@suse.de>
Reviewed-by: Rik van Riel <riel@redhat.com>
Cc: Alex Thorlton <athorlton@sgi.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/migrate.c