mbox series

[v3,0/2] arm64: tlbflush: optimize flush tlb kernel range

Message ID 20240923131351.713304-1-wangkefeng.wang@huawei.com (mailing list archive)
Headers show
Series arm64: tlbflush: optimize flush tlb kernel range | expand

Message

Kefeng Wang Sept. 23, 2024, 1:13 p.m. UTC
Supports TLB range operations when flush tlb kernel range.

v3:
- add helper to check maximum number of TLBI operations to avoid
  duplicate code in flush_tlb_kernel_range(), suggested by Anshuman
v2:
- address Catalin's comments and use __flush_tlb_range_op() directly

Kefeng Wang (2):
  arm64: tlbflush: add __flush_tlb_range_limit_excess()
  arm64: optimize flush tlb kernel range

 arch/arm64/include/asm/tlbflush.h | 43 +++++++++++++++++++------------
 1 file changed, 27 insertions(+), 16 deletions(-)

Comments

Catalin Marinas Oct. 16, 2024, 4:31 p.m. UTC | #1
On Mon, 23 Sep 2024 21:13:49 +0800, Kefeng Wang wrote:
> Supports TLB range operations when flush tlb kernel range.
> 
> v3:
> - add helper to check maximum number of TLBI operations to avoid
>   duplicate code in flush_tlb_kernel_range(), suggested by Anshuman
> v2:
> - address Catalin's comments and use __flush_tlb_range_op() directly
> 
> [...]

Applied to arm64 (for-next/tlb), thanks!

[1/2] arm64: tlbflush: add __flush_tlb_range_limit_excess()
      https://git.kernel.org/arm64/c/7ffc13e23395
[2/2] arm64: optimize flush tlb kernel range
      https://git.kernel.org/arm64/c/a923705c69f7