]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: numa: avoid unnecessary work on the failure path
authorMel Gorman <mgorman@suse.de>
Mon, 16 Dec 2013 23:44:44 +0000 (10:44 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 16 Dec 2013 23:44:44 +0000 (10:44 +1100)
commit0a2d8859152fbfe164bc5931f685751780aca4b9
treea29af969ff480c899e299e301124bc2f1e29a1d8
parent033d54f8b6948ab9921ed60134a061d983d4cc2d
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>
mm/migrate.c