Re: [PATCH 9/9] perf/x86: add syfs entry to disable HT bug workaround

From: Matt Fleming
Date: Fri Jun 06 2014 - 04:28:11 EST


On 6 June 2014 00:29, Andi Kleen <ak@xxxxxxxxxxxxxxx> wrote:
>> As Stephane pointed out, the sysfs entry is optional and the workaround
>> can be disabled only as root.
>>
>> It is not absolutely necessary and it's not important.
>> We will drop it in V2.
>
> I would prefer to keep it. It's fairly complex and it's always good
> to have a way to disable complex things in case something goes wrong.

You want to be able to disable the workaround in case it doesn't work?
I'm having a hard time buying that as a valid reason for this knob.

If someone runs into issues with the workaround we want them to report
those issues so that we can tweak the code. If they've got the ability
to simply disable the code they're less likely to report the problem
and we'll all be worse for it.

Having the knob increase the number of configurations and increases
complexity, it doesn't reduce it.
--
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/