This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/12587] New: sysconf(_SC_*CACHE) returns 0 for all caches on some CPUs.
- From: "john.haxby at oracle dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Tue, 15 Mar 2011 18:49:11 +0000
- Subject: [Bug libc/12587] New: sysconf(_SC_*CACHE) returns 0 for all caches on some CPUs.
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=12587
Summary: sysconf(_SC_*CACHE) returns 0 for all caches on some
CPUs.
Product: glibc
Version: 2.13
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper.fsp@gmail.com
ReportedBy: john.haxby@oracle.com
I have a machine for which /proc/cpuinfo shows this:
vendor_id : GenuineIntel
cpu family : 6
model : 44
model name : Intel(R) Xeon(R) CPU X5670 @ 2.93GHz
stepping : 2
and "getconf -a | grep CACHE" shows zero for all the matching entries.
For what its worth, __cpuid(2, eax, ebx, ecx, edx) puts 0x5b0b101,
0x5657f0, 0x0 and 0x2cb43049 in eax, ebx, ecx and edx respectively and
these do not correspond to any entries in intel_02_known[] in
sysdeps/x86_64/cacheinfo.c or sysdeps/i386/i686/cacheinfo.c.
The values in /sys/devices/system/cpu/cpuN/cache/index*/* seem to be
correct for this machine.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.