]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
mm, locking: Fix up flush_tlb_pending() related merge in do_huge_pmd_numa_page()
authorPeter Zijlstra <peterz@infradead.org>
Fri, 11 Aug 2017 12:29:01 +0000 (14:29 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 11 Aug 2017 12:35:29 +0000 (14:35 +0200)
commitccde85ba00cccd28436e19c5bf503165c55a04f3
treee0342f48c0c742f18cb92d1b697bbcf30d1500f0
parent040cca3ab2f6f8b8d26e0e4965abea2b9aa14818
mm, locking: Fix up flush_tlb_pending() related merge in do_huge_pmd_numa_page()

Merge commit:

  040cca3ab2f6 ("Merge branch 'linus' into locking/core, to resolve conflicts")

overlooked the fact that do_huge_pmd_numa_page() now does two TLB
flushes. Commit:

  8b1b436dd1cc ("mm, locking: Rework {set,clear,mm}_tlb_flush_pending()")

and commit:

  a9b802500ebb ("Revert "mm: numa: defer TLB flush for THP migration as long as possible"")

Both moved the TLB flush around but slightly different, the end result
being that what was one became two.

Clean this up.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: David S. Miller <davem@davemloft.net>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vineet Gupta <vgupta@synopsys.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
mm/huge_memory.c