Re: [PATCH v4] sparc64: Setup sysfs to mark LDOM sockets, cores and threads correctly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: chris.hyser@xxxxxxxxxx
Date: Wed, 22 Apr 2015 12:28:31 -0400

> commit 5f4826a362405748bbf73957027b77993e61e1af
> Author: chris hyser <chris.hyser@xxxxxxxxxx>
> Date:   Tue Apr 21 10:31:38 2015 -0400
> 
>     sparc64: Setup sysfs to mark LDOM sockets, cores and threads correctly
>     
>     The current sparc kernel has no representation for sockets though tools
>     like lscpu can pull this from sysfs. This patch walks the machine
>     description cache and socket hierarchy and marks sockets as well as cores
>     and threads such that a representative sysfs is created by
>     drivers/base/topology.c.
 ...
>     Most of this patch was done by Chris with updates by David.
>     
>     Signed-off-by: Chris Hyser <chris.hyser@xxxxxxxxxx>
>     Signed-off-by: David Ahern <david.ahern@xxxxxxxxxx>

Looks good, applied.

On my T4-2, before:

Architecture:          sparc64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Big Endian
CPU(s):                128
On-line CPU(s) list:   0-127
Thread(s) per core:    8
Core(s) per socket:    1
Socket(s):             16
NUMA node(s):          2
NUMA node0 CPU(s):     0-63
NUMA node1 CPU(s):     64-127

and after:

Architecture:          sparc64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Big Endian
CPU(s):                128
On-line CPU(s) list:   0-127
Thread(s) per core:    8
Core(s) per socket:    8
Socket(s):             2
NUMA node(s):          2
NUMA node0 CPU(s):     0-63
NUMA node1 CPU(s):     64-127

Thanks!
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux