Re: [PATCH V2] arm64: Don't flush tlb while clearing the accessed bit

2018-10-29 Thread Mark Rutland
On Mon, Oct 29, 2018 at 11:59:59AM +0530, Ashish Mhetre wrote: > From: Alex Van Brunt > > Accessed bit is used to age a page and in generic implementation there is > flush_tlb while clearing the accessed bit. > Flushing a TLB is overhead on ARM64 as access flag faults don't get > translation tabl

[PATCH V2] arm64: Don't flush tlb while clearing the accessed bit

2018-10-28 Thread Ashish Mhetre
From: Alex Van Brunt Accessed bit is used to age a page and in generic implementation there is flush_tlb while clearing the accessed bit. Flushing a TLB is overhead on ARM64 as access flag faults don't get translation table entries cached into TLB's. Flushing TLB is not necessary for this. Cleari