Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 23 Jun 2018 17:48:14 +0200
From: Peter Kjellström <cap@....liu.se>
To: Michael Ellerman <mpe@...erman.id.au>
CC: oss-security@...ts.openwall.com,Solar Designer <solar@...nwall.com>
Subject: Re: Intel hyper-threading security issues

On Fri, 22 Jun 2018 14:08:03 +1000
Michael Ellerman <mpe@...erman.id.au> wrote:

> Solar Designer <solar@...nwall.com> writes:
> > On Thu, Jun 21, 2018 at 01:54:16PM +0200, Sven Schwedas wrote:  
> >> On 2018-06-21 12:28, Lukas Odzioba wrote:  
...
> > On a related note, attached is a generic Linux /proc/cpuinfo parser
> > I  
> 
> I guess by "generic" you mean Intel & AMD? :)
> 
> It won't work on powerpc, or arm, or arm64 ...
> 
> You should be able to determine all of the info you need from the
> sysfs topology files, which work across arches.
> 
> See the script below for example, which shows CPUs grouped by core.
...

This is sliding OT a bit I guess, but may I suggest the fairly mature
hwloc (used by many projects in need of numa/core/smt topology):

https://www.open-mpi.org/projects/hwloc/

 $ lstopo

/Peter K
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Powered by blists - more mailing lists

Your e-mail address:

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Powered by Openwall GNU/*/Linux - Powered by OpenVZ