lkml.org 
[lkml]   [2023]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH 1/1] arm64: mm: remove unnecessary multiple tlb flush of contiguous hugetlb
On Tue, Feb 07, 2023 at 07:09:41PM +0800, Kaihao Bai wrote:
> In arm64, contiguous flag refers to the same TLB entry that shared by a
> contiguous address range. If flush one entry of the address range, it
> would cover the whole contiguous address range. Thus there's no need to
> flush all contiguous range that CONT_PMD/PTE points to.

This doesn't work. The contiguous bit is a hint, so the CPU may not
coalesce multiple PTEs into a single TLB entry.

--
Catalin

\
 
 \ /
  Last update: 2023-03-27 00:14    [W:0.030 / U:0.692 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site