Re: [PATCH v5 6/7] x86/tlb: optimizing flush_tlb_mm
- To: Luming Yu <luming.yu@xxxxxxxxx>
- Subject: Re: [PATCH v5 6/7] x86/tlb: optimizing flush_tlb_mm
- From: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
- Date: Tue, 15 May 2012 15:06:10 +0200
- Cc: Nick Piggin <npiggin@xxxxxxxxx>, Alex Shi <alex.shi@xxxxxxxxx>, tglx@xxxxxxxxxxxxx, mingo@xxxxxxxxxx, hpa@xxxxxxxxx, arnd@xxxxxxxx, rostedt@xxxxxxxxxxx, fweisbec@xxxxxxxxx, jeremy@xxxxxxxx, riel@xxxxxxxxxx, luto@xxxxxxx, avi@xxxxxxxxxx, len.brown@xxxxxxxxx, dhowells@xxxxxxxxxx, fenghua.yu@xxxxxxxxx, borislav.petkov@xxxxxxx, yinghai@xxxxxxxxxx, ak@xxxxxxxxxxxxxxx, cpw@xxxxxxx, steiner@xxxxxxx, akpm@xxxxxxxxxxxxxxxxxxxx, penberg@xxxxxxxxxx, hughd@xxxxxxxxxx, rientjes@xxxxxxxxxx, kosaki.motohiro@xxxxxxxxxxxxxx, n-horiguchi@xxxxxxxxxxxxx, tj@xxxxxxxxxx, oleg@xxxxxxxxxx, axboe@xxxxxxxxx, jmorris@xxxxxxxxx, kamezawa.hiroyu@xxxxxxxxxxxxxx, viro@xxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, yongjie.ren@xxxxxxxxx, linux-arch@xxxxxxxxxxxxxxx, jcm@xxxxxxxxxxxxxx
- In-reply-to: <CAJRGBZy0S_fg3GY4S5CG-2SWv5AG1jMrcMMqCiTg=7xyD1mrzQ@mail.gmail.com>
- List-id: <linux-arch.vger.kernel.org>
On Tue, 2012-05-15 at 20:58 +0800, Luming Yu wrote:
>
>
> Both __native_flush_tlb() and __native_flush_tlb_single(...)
> introduced roughly 1 ns latency to tsc sampling executed in
> stop_machine_context in two logical CPUs
But you have to weight that against the cost of re-population, and
that's the difficult bit, since we have no clue how many tlb entries are
in use by the current cr3.
It might be possible for intel to give us this information, I've asked
for something similar for cachelines.
--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Kernel]
[Kernel Newbies]
[x86 Platform Driver]
[Share Photos]
[Security]
[Netfilter]
[Bugtraq]
[Linux FS]
[Photo]
[Yosemite]
[Yosemite Discussion]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Samba]
[Video 4 Linux]
[Device Mapper]
[Linux Resources]