Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 408770 Details for
Bug 528712
linux-sources: cached /proc/cpuinfo is invalidated by updated microcode (which can break with glibc-2.20)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
glibc 2.20 does not respect --enable-lock-elision=no without this patch
glibc-2.20-respect-elision-no-choice.patch (text/plain), 548 bytes, created by
Richard Yao (RETIRED)
on 2015-08-11 03:46:20 UTC
(
hide
)
Description:
glibc 2.20 does not respect --enable-lock-elision=no without this patch
Filename:
MIME Type:
Creator:
Richard Yao (RETIRED)
Created:
2015-08-11 03:46:20 UTC
Size:
548 bytes
patch
obsolete
>diff --git a/sysdeps/x86/elide.h b/sysdeps/x86/elide.h >index 5befa53..5abb952 100644 >--- a/sysdeps/x86/elide.h >+++ b/sysdeps/x86/elide.h >@@ -18,6 +18,8 @@ > #ifndef ELIDE_H > #define ELIDE_H 1 > >+#ifdef ENABLE_LOCK_ELISION >+ > #include <hle.h> > #include <elision-conf.h> > >@@ -106,4 +108,11 @@ elision_adapt(signed char *adapt_count, unsigned int status) > ret; \ > }) > >+#else >+ >+#define ELIDE_LOCK(adapt_count, is_lock_free) 0 >+#define ELIDE_TRYLOCK(adapt_count, is_lock_free, write) 0 >+#define ELIDE_UNLOCK(is_lock_free) 0 >+ >+#endif > #endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 528712
: 408770