]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit19966be189dca4c7d2ad7ee951bab7c40ef8ef4e
tree011d6667813fba37e9734605c44b4b7142b5015d
parent404538a46f4cdb82ac379203ffdb312680671084
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