Re: [PATCH v3] TLB flush optimization
From: Peter Zijlstra
Date: Tue May 08 2012 - 11:02:50 EST
On Tue, 2012-05-08 at 22:03 +0800, Alex Shi wrote:
> This version just added 2 patches, the 6th and 7th. The first 5 patches are
> same as v2.
> Seems it is a little hard for me to find a real case to show performance gain.
> But the advantage is there ture.
> Any comments are appreciated!
> [PATCH v3 1/7] x86/tlb_info: get last level TLB entry number of CPU
> [PATCH v3 2/7] x86/flush_tlb: try flush_tlb_single one by one in
> [PATCH v3 3/7] x86/tlb: fall back to flush all when meet a THP large
> [PATCH v3 4/7] x86/tlb: add tlb flush all factor for specific CPUs
> [PATCH v3 5/7] x86/tlb: remove comments for tlb_flush_range
> [PATCH v3 6/7] x86/tlb: optimizing flush_tlb_mm
> [PATCH v3 7/7] x86/tlb: add tlb_flushall_factor into sysfs for user
Have you tried what happens if you get rid of the funny multi-vector-ipi
scheme and use the generic smp_call functions?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/