public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/12587] New: sysconf(_SC_*CACHE) returns 0 for all caches on some CPUs.
@ 2011-03-15 18:49 john.haxby at oracle dot com
  2011-03-16 12:00 ` [Bug libc/12587] " john.haxby at oracle dot com
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: john.haxby at oracle dot com @ 2011-03-15 18:49 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2014-06-27 13:40 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-15 18:49 [Bug libc/12587] New: sysconf(_SC_*CACHE) returns 0 for all caches on some CPUs john.haxby at oracle dot com
2011-03-16 12:00 ` [Bug libc/12587] " john.haxby at oracle dot com
2011-03-20 12:15 ` drepper.fsp at gmail dot com
2011-03-22 11:39 ` hjl.tools at gmail dot com
2011-03-22 11:44 ` hjl.tools at gmail dot com
2011-03-22 16:26 ` drepper.fsp at gmail dot com
2011-03-25 12:31 ` john.haxby at oracle dot com
2011-03-25 12:32 ` john.haxby at oracle dot com
2011-03-30 15:30 ` john.haxby at oracle dot com
2011-03-30 15:32 ` john.haxby at oracle dot com
2011-03-30 23:59 ` baryluk at smp dot if.uj.edu.pl
2011-03-31  9:18 ` john.haxby at oracle dot com
2011-04-02  0:14 ` drepper.fsp at gmail dot com
2011-04-05 13:52 ` john.haxby at oracle dot com
2011-04-06 11:30 ` drepper.fsp at gmail dot com
2011-04-06 12:20 ` john.haxby at oracle dot com
2011-04-09 15:10 ` drepper.fsp at gmail dot com
2011-04-09 15:24 ` john.haxby at oracle dot com
2014-02-16 17:45 ` jackie.rosen at hushmail dot com
2014-05-28 19:45 ` schwab at sourceware dot org
2014-06-27 13:40 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).