Re: [PATCH v5 6/7] x86/tlb: optimizing flush_tlb_mm
From: Peter Zijlstra <hidden>
Date: 2012-05-15 14:37:11
Also in:
lkml
From: Peter Zijlstra <hidden>
Date: 2012-05-15 14:37:11
Also in:
lkml
On Tue, 2012-05-15 at 21:24 +0800, Alex Shi wrote:
Sorry. I don't understand what's the comments Peter's made days ago. I should ask for more details originally. So, Peter, the correct change should like following, am I right? -#define tlb_flush(tlb) flush_tlb_mm((tlb)->mm) +#define tlb_flush(tlb, start, end) __flush_tlb_range((tlb)->mm, start, end)
No.. the correct change is to do range tracking like the other archs that support flush_tlb_range() do. You do not modify the tlb interface. Again, see: http://marc.info/?l=linux-arch&m=129952026504268&w=2