]> git.baikalelectronics.ru Git - kernel.git/commit
mm: numa: defer TLB flush for THP migration as long as possible
authorMel Gorman <mgorman@suse.de>
Thu, 19 Dec 2013 01:08:46 +0000 (17:08 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 19 Dec 2013 03:04:51 +0000 (19:04 -0800)
commitb0943d61b8fa420180f92f64ef67662b4f6cc493
treece2a5fb0e890e51ca1620be685269f9245ddb804
parentaf2c1401e6f9177483be4fad876d0073669df9df
mm: numa: defer TLB flush for THP migration as long as possible

THP migration can fail for a variety of reasons.  Avoid flushing the TLB
to deal with THP migration races until the copy is ready to start.

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/huge_memory.c
mm/migrate.c