This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/12587] sysconf(_SC_*CACHE) returns 0 for all caches on some CPUs.
- From: "hjl.tools at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Tue, 22 Mar 2011 11:39:38 +0000
- Subject: [Bug libc/12587] sysconf(_SC_*CACHE) returns 0 for all caches on some CPUs.
- Auto-submitted: auto-generated
- References: <bug-12587-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12587
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2011-03-22 11:34:42 UTC ---
The fix doesn't work since the loop may not terminate. It goes into an
infinite
loop on Xeon X5670. Also we should use __cpuid_count like the rest of
sysdeps/x86_64/cacheinfo.c.
--
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.