Messages in this thread | | | Subject | Re: [PATCH v4 6/7] x86/tlb: optimizing flush_tlb_mm | From | Peter Zijlstra <> | Date | Thu, 10 May 2012 10:27:02 +0200 |
| |
On Thu, 2012-05-10 at 13:00 +0800, Alex Shi wrote: > Not every flush_tlb_mm execution moment is really need to evacuate all > TLB entries, like in munmap, just few 'invlpg' is better for whole > process performance, since it leaves most of TLB entries for later > accessing. > > This patch is changing flush_tlb_mm(mm) to flush_tlb_mm(mm, start, end) > in cases.
No I thoroughly hate this patch. Please do something like:
http://marc.info/?l=linux-arch&m=129952026504268&w=2
Afaict it achieves the same, doesn't mangle the tlb flush interfaces and allows more arch to use generic code.
| |