]> 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)
commit3fdf00ca773d0d910910ac0c4f006757ae78c834
treece2a5fb0e890e51ca1620be685269f9245ddb804
parent03190c831f922174b8635edc5a070bb3762f63d2
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