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

From: Chris Friesen
Date: Wed Nov 11 2009 - 15:48:07 EST


On 11/11/2009 02:34 PM, Bartlomiej Zolnierkiewicz 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/
>
> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx>
> ---
> It could be that there are some user-space programs depending on "ht"
> flag so the patch is marked as RFC..

If a cpu is capable of ht but doesn't have any siblings, do we actually
care?

If many people consider the "ht" flag to indicate that hyperthreading is
actually available, what about instead changing the meaning of the "ht"
flag to indicate that there actually are siblings?

Chris

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