public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "carlos at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nptl/17351] No hardware with functional lock elision available
Date: Sat, 06 Sep 2014 17:35:00 -0000	[thread overview]
Message-ID: <bug-17351-131-h20eDKi9bG@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-17351-131@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=17351

--- Comment #5 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to Cedric BAIL from comment #4)
> Checking the CPU RTM bit is not enough for application, they also need to
> check the microcode version (This is the reason why glibc is turning on
> elision when it should not use it in my opinion).

You misunderstand. We will not protect you from faulty hardware. The choice is
up to the user to apply the microcode update or not. It is *after* the
microcode update that the RTM-enabled CPU with errata will have the RTM bit
disabled, and therefore glibc will not use elision. On RTM-enabled CPUs that
don't have the errata the RTM bit will be enabled and glibc will use elision.
The library will not attempt to check the microcode version to disable elision,
that is the responsibility of the user. All I was clarifying was that after the
microcode update the library does the right thing.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


  parent reply	other threads:[~2014-09-06 17:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-05 12:12 [Bug nptl/17351] New: " cedric.bail at free dot fr
2014-09-05 17:28 ` [Bug nptl/17351] " cedric.bail at free dot fr
2014-09-05 17:42 ` carlos at redhat dot com
2014-09-06  9:19 ` cedric.bail at free dot fr
2014-09-06 17:35 ` carlos at redhat dot com [this message]
2014-09-06 19:36 ` cedric.bail at free dot fr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-17351-131-h20eDKi9bG@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).