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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Mon, 18 Jan 2016 23:28:32 +0100
From:	Andi Kleen <andi@...stfloor.org>
To:	Peter Zijlstra <peterz@...radead.org>
Cc:	Andi Kleen <andi@...stfloor.org>, acme@...nel.org,
	jolsa@...nel.org, eranian@...gle.com, linux-kernel@...r.kernel.org,
	mingo@...nel.org, Andi Kleen <ak@...ux.intel.com>
Subject: Re: [PATCH 09/11] x86, perf: Support sysfs files depending on SMT
 status

> So one obvious problem with this is that a concurrent hotplug operation
> can toggle ht_on resulting in bogus measurements.
> 
> I'm not sure there's anything we can do about that, other than WARN in
> the tool if it finds inconsistent results; does it?

Right. Supporting a good interface for user programs to be informed
of CPU hotplug would be useful for a lot of things, but currently
it doesn't exist and it's definitely outside the scope of this
patchkit. If such an interface existed perf stat could use it
to reconfigure itself.

It's hard to do a good sanity check unfortunately.

-Andi

-- 
ak@...ux.intel.com -- Speaking for myself only.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ