]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Sep 2018 07:26:36 +0000 (09:26 +0200)
commit3e0994616d4ab790efd574c7f969cdc27491da88
tree9f3806fc4d43cb1675528c9b384f40bb3f552a10
parent7d91aa5717dbf852ef9d36a2c85f2900696fdd13
mm: move tlb_table_flush to tlb_flush_mmu_free

commit db7ddef301128dad394f1c0f77027f86ee9a4edb upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
mm/memory.c