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]

[PATCH 0/3] Add some missing cache infomation


I was looking to use _SC_LEVEL1_ICACHE_LINESIZE in QEMU,
and notice that some of our common hosts are missing this
information.

For my purposes, a guess at the linesize is good enough,
and I can't imagine that returning the linesize used for
flushing the cache could be incorrect.


r~


Richard Henderson (3):
  Guess L1 cache linesize for aarch64
  Add hidden_proto for getauxval
  Add cache info for powerpc64

 include/sys/auxv.h                                 |  2 +
 misc/getauxval.c                                   |  1 +
 sysdeps/unix/sysv/linux/aarch64/sysconf.c          | 55 +++++++++++++
 .../unix/sysv/linux/powerpc/powerpc64/sysconf.c    | 90 ++++++++++++++++++++++
 4 files changed, 148 insertions(+)
 create mode 100644 sysdeps/unix/sysv/linux/aarch64/sysconf.c
 create mode 100644 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysconf.c

-- 
2.9.4


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