]> git.baikalelectronics.ru Git - kernel.git/commit
csky/tlb: Remove tlb_flush() define
authorPeter Zijlstra <peterz@infradead.org>
Fri, 8 Jul 2022 07:18:04 +0000 (09:18 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 21 Jul 2022 17:50:13 +0000 (10:50 -0700)
commit2f1c29cbd9ee4ae604f70b753d8b09e3a784dd8c
tree4f9a93e131c59187fd6636b32c53fe6b54203b69
parent01f84261a2fe21409a4147b277c051c8918716c2
csky/tlb: Remove tlb_flush() define

The previous patch removed the tlb_flush_end() implementation which
used tlb_flush_range(). This means:

 - csky did double invalidates, a range invalidate per vma and a full
   invalidate at the end

 - csky actually has range invalidates and as such the generic
   tlb_flush implementation is more efficient for it.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Will Deacon <will@kernel.org>
Tested-by: Guo Ren <guoren@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/csky/include/asm/tlb.h