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:	Mon, 9 May 2016 11:42:19 +0200
From:	Peter Zijlstra <peterz@...radead.org>
To:	Andi Kleen <andi@...stfloor.org>
Cc:	acme@...nel.org, jolsa@...nel.org, linux-kernel@...r.kernel.org,
	Andi Kleen <ak@...ux.intel.com>,
	Thomas Gleixner <tglx@...utronix.de>, x86@...nel.org
Subject: Re: [PATCH 02/10] x86, perf: Support sysfs files depending on SMT
 status

On Thu, May 05, 2016 at 04:03:59PM -0700, Andi Kleen wrote:
> From: Andi Kleen <ak@...ux.intel.com>
> 
> Add a way to show different sysfs events attributes depending on
> HyperThreading is on or off. This is difficult to determine
> early at boot, so we just do it dynamically when the sysfs
> attribute is read.
> 
> v2:
> Compute HT status only once in CPU online/offline hooks.
> v3: Use topology_max_smt_threads()
> Signed-off-by: Andi Kleen <ak@...ux.intel.com>
> ---
>  arch/x86/events/core.c       | 24 ++++++++++++++++++++++++
>  arch/x86/events/perf_event.h | 14 ++++++++++++++
>  include/linux/perf_event.h   |  7 +++++++
>  3 files changed, 45 insertions(+)
> 

Should this not now live in /sys/devices/system/cpu/ ? Thomas?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ