lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 12 Nov 2009 18:59:08 +0100
From:	Ingo Molnar <mingo@...e.hu>
To:	"H. Peter Anvin" <hpa@...or.com>
Cc:	Bartlomiej Zolnierkiewicz <bzolnier@...il.com>, x86@...nel.org,
	linux-kernel@...r.kernel.org, Dave Jones <davej@...emonkey.org.uk>
Subject: Re: [PATCH RFC] x86: fix confusing name of /proc/cpuinfo "ht" flag


* H. Peter Anvin <hpa@...or.com> wrote:

> On 11/12/2009 12:13 AM, Ingo Molnar wrote:
> >>
> >> /proc/cpuinfo is a user-space visible ABI.  Changing it is bad 
> >> chicken.
> > 
> > Almost ... something is only an ABI if an actual application relies on 
> > the 'ht' flag being there on non-hyperthreading CPUs. We dont know 
> > whether there's any, but the likelyhood looks pretty low. Could park it 
> > a branch for some time to see whether anything trips up.
> > 
> 
> No, please.  We have had people who have "helpfully" tried to change 
> /proc/cpuinfo in the past, and what we find is that application 
> developers don't tell us -- they grumble among themselves and put out 
> a new release saying "fixes breakage introduced by Linux ..."
> 
> It's an ABI.  Keep it stable, please.

That's generally true, but i'm not suggesting that: i'm suggesting to 
_clear_ the HT flag from the cpufeatures if there's only one sibling. 
It's meaningless in that case and as the link quoted by the original 
patch shows many people are confused by that.

I have such a box so i can test it. (but i dont expect any problems)

	Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ