linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Howells <dhowells@redhat.com>
To: Amerigo Wang <amwang@redhat.com>
Cc: dhowells@redhat.com, linux-kernel@vger.kernel.org,
	Brian Behlendorf <behlendorf1@llnl.gov>,
	Ben Woodard <bwoodard@llnl.gov>, Stable Team <stable@kernel.org>,
	akpm@linux-foundation.org
Subject: Re: [Patch v2] rwsem: fix rwsem_is_locked() bugs
Date: Tue, 06 Oct 2009 08:18:09 +0100	[thread overview]
Message-ID: <9987.1254813489@redhat.com> (raw)
In-Reply-To: <4ACAEB6D.2020601@redhat.com>


Amerigo Wang <amwang@redhat.com> wrote:

> Since if we have locks, we don't need memory barriers any more, right?

Indeed - locks are implicit memory barriers.

David

      reply	other threads:[~2009-10-06  7:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-05  6:36 [Patch v2] rwsem: fix rwsem_is_locked() bugs Amerigo Wang
2009-10-05 13:13 ` David Howells
2009-10-06  7:02   ` Amerigo Wang
2009-10-06  7:18     ` David Howells [this message]

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=9987.1254813489@redhat.com \
    --to=dhowells@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=amwang@redhat.com \
    --cc=behlendorf1@llnl.gov \
    --cc=bwoodard@llnl.gov \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable@kernel.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 NNTP newsgroup(s).