Re: [PATCH v3 7/7] x86/tlb: add tlb_flushall_factor into sysfs foruser change

From: H. Peter Anvin
Date: Tue May 08 2012 - 11:22:04 EST


On 05/08/2012 08:11 AM, Peter Zijlstra wrote:
> On Tue, 2012-05-08 at 22:03 +0800, Alex Shi wrote:
>> kernel will replace cr3 rewrite with invlpg when
>> tlb flush entries <= 1/tlb_flushall_factor
>> if tlb_flushall_factor is 0, kernel won't do this replace.
>>
>> User can modify its value according to specific applications.
>
> Yay!, another useless config knob :-(
>

I think this one is mostly for benchmarking new silicon to find out the
proper value, I'm guessing?

-hpa

--
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/