]> git.ipfire.org Git - thirdparty/glibc.git/commit - NEWS
S/390: Get cache information via sysconf
authorStefan Liebler <stli@linux.vnet.ibm.com>
Fri, 24 Apr 2015 11:34:17 +0000 (13:34 +0200)
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Fri, 24 Apr 2015 11:37:39 +0000 (13:37 +0200)
commitf7fba80508eb370db54fb32f6ffc691468ebec3f
tree4cfbfe93b71169da8d180c4da38d43ae277c54f4
parent92f2897953ab6cd9e073718cfe36611700e174c6
S/390: Get cache information via sysconf

This patch adds support to query cache information on s390
via sysconf() function - e.g. with _SC_LEVEL1_ICACHE_SIZE.
The attributes size, linesize and assoc can be queried
for cache level 1 - 4 via "extract cpu attribute" instruction,
which was first available with z10.

* NEWS: Mention sysconf() cache information support for s390.
* sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
ChangeLog
NEWS
sysdeps/unix/sysv/linux/s390/sysconf.c [new file with mode: 0644]