From: Catalin Marinas <catalin.marinas@arm.com>
To: Kaihao Bai <carlo.bai@linux.alibaba.com>
Cc: will@kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, anshuman.khandual@arm.com,
baolin.wang@linux.alibaba.com
Subject: Re: [RFC PATCH 1/1] arm64: mm: remove unnecessary multiple tlb flush of contiguous hugetlb
Date: Tue, 7 Feb 2023 18:21:20 +0000 [thread overview]
Message-ID: <Y+KWoDw1ppliQ5Sg@arm.com> (raw)
In-Reply-To: <1675768181-41518-1-git-send-email-carlo.bai@linux.alibaba.com>
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
next prev parent reply other threads:[~2023-02-07 18:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-07 11:09 Kaihao Bai
2023-02-07 18:21 ` Catalin Marinas [this message]
2023-02-08 3:43 ` Carlo Bai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y+KWoDw1ppliQ5Sg@arm.com \
--to=catalin.marinas@arm.com \
--cc=anshuman.khandual@arm.com \
--cc=baolin.wang@linux.alibaba.com \
--cc=carlo.bai@linux.alibaba.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®