Re: [PATCH RFC] x86: fix confusing name of /proc/cpuinfo "ht" flag

From: Ingo Molnar
Date: Thu Nov 12 2009 - 02:00:05 EST



* Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx> wrote:

> "ht" flag indicates only ability to detect siblings not HT presence
> itself.
>
> Inspired by:
> http://www.codemonkey.org.uk/2009/11/10/common-hyperthreading-misconception/

i think instead of changing 'ht' to 'ht_detect', it would be even more
intuitive to only expose the 'ht' flag if the ht-detect capability is
there _and_ if the number of siblings is 2 or more.

That way we dont change it - we just 'hide' the 'ht' string on the
category of systems that can enumerate HT via the CPUID but dont
actually have HyperThreading.

Hm?

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