diff options
author | Heiko Carstens | 2016-06-22 09:25:59 +0200 |
---|---|---|
committer | Karel Zak | 2016-06-24 10:54:09 +0200 |
commit | 28b1658f8b5b3c9fdd971201de6e95abb33526a9 (patch) | |
tree | 95d9395d639917f7dba7fdfeee84bde905d5afce /tests/expected/lscpu | |
parent | lscpu: show machine type (s390) (diff) | |
download | kernel-qcow2-util-linux-28b1658f8b5b3c9fdd971201de6e95abb33526a9.tar.gz kernel-qcow2-util-linux-28b1658f8b5b3c9fdd971201de6e95abb33526a9.tar.xz kernel-qcow2-util-linux-28b1658f8b5b3c9fdd971201de6e95abb33526a9.zip |
lscpu: show additional caches (s390)
The Linux kernel exposes the cache topology via sysfs. However on
virtualized machines like s390 the cache topology contains only cpu
private caches.
For shared caches it is not known which cpus share them. The
hypervisor would have to update this information whenever a virtual
cpu would be scheduled on a different physical cpu and make the guest
aware of that change. Given that there is hardly any benefit, if it
all, this isn't done.
However it is still of interest to know about the non-private
caches. Therefore this information is available via /proc/cpuinfo at
least on s390.
This patch adds additional lines to the summary output for all shared
caches for which information can be found in /proc/cpuinfo, since we
know these aren't exposed via sysfs.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'tests/expected/lscpu')
-rw-r--r-- | tests/expected/lscpu/lscpu-s390-lpar-drawer | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/expected/lscpu/lscpu-s390-lpar-drawer b/tests/expected/lscpu/lscpu-s390-lpar-drawer index 587e7a6ed..75ee33ff7 100644 --- a/tests/expected/lscpu/lscpu-s390-lpar-drawer +++ b/tests/expected/lscpu/lscpu-s390-lpar-drawer @@ -21,6 +21,8 @@ L1d cache: 128K L1i cache: 96K L2d cache: 2048K L2i cache: 2048K +L3 cache: 65536K +L4 cache: 491520K NUMA node0 CPU(s): 0-140 Flags: esan3 zarch stfle msa ldisp eimm dfp edat etf3eh highgprs te vx sie |