mm: move tlb_table_flush to tlb_flush_mmu_free
authorNicholas Piggin <npiggin@gmail.com>
Thu, 23 Aug 2018 08:47:08 +0000 (18:47 +1000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 23 Aug 2018 18:53:24 +0000 (11:53 -0700)
commitdb7ddef301128dad394f1c0f77027f86ee9a4edb
tree011d6667813fba37e9734605c44b4b7142b5015d
parent52a288c736669851f166544d4a0b93e1090d7e9b
mm: move tlb_table_flush to tlb_flush_mmu_free

There is no need to call this from tlb_flush_mmu_tlbonly, it logically
belongs with tlb_flush_mmu_free.  This makes future fixes simpler.

[ This was originally done to allow code consolidation for the
  mmu_notifier fix, but it also ends up helping simplify the
  HAVE_RCU_TABLE_INVALIDATE fix.    - Linus ]

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memory.c