This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] S390: Get cache information via sysconf.


Ping

On 04/17/2015 03:31 PM, Stefan Liebler wrote:
Hi,

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.

Tested on s390/s390x.

Ok to commit?

Bye
Stefan

---
2015-04-17  Stefan Liebler  <stli@linux.vnet.ibm.com>

     * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]