lkml.org 
[lkml]   [2012]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v4 6/7] x86/tlb: optimizing flush_tlb_mm
From
Date
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.


\
 
 \ /
  Last update: 2012-05-10 11:03    [W:0.171 / U:0.872 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site