[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181206191850.GC20796@arm.com>
Date: Thu, 6 Dec 2018 19:18:51 +0000
From: Will Deacon <will.deacon@....com>
To: Alexander Van Brunt <avanbrunt@...dia.com>
Cc: Ashish Mhetre <amhetre@...dia.com>,
"mark.rutland@....com" <mark.rutland@....com>,
"linux-tegra@...r.kernel.org" <linux-tegra@...r.kernel.org>,
Sachin Nikam <Snikam@...dia.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH V3] arm64: Don't flush tlb while clearing the accessed bit
Hi Alex,
Thanks for running these tests and providing the in-depth analysis.
On Mon, Dec 03, 2018 at 09:20:25PM +0000, Alexander Van Brunt wrote:
> > If we roll a TLB invalidation routine without the trailing DSB, what sort of
> > performance does that get you?
>
> It is not as good. In some cases, it is really bad. Skipping the invalidate was
> the most consistent and fast implementation.
My problem with that is it's not really much different to just skipping the
page table update entirely. Skipping the DSB is closer to what is done on
x86, where we bound the stale entry time to the next context-switch.
Given that I already queued the version without the DSB, we have the choice
to either continue with that or to revert it and go back to the previous
behaviour. Which would you prefer?
Will
Powered by blists - more mailing lists