public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: "Fernando Luis Vázquez Cao" <fernando@oss.ntt.co.jp>
Cc: Hugh Dickins <hugh@veritas.com>,
	Hisashi Hifumi <hifumi.hisashi@oss.ntt.co.jp>,
	akpm@linux-foundation.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mm: PageLRU can be non-atomic bit operation
Date: Wed, 25 Apr 2007 10:59:24 +0200	[thread overview]
Message-ID: <200704251059.24994.ak@suse.de> (raw)
In-Reply-To: <1177491416.15618.7.camel@sebastian.intellilink.co.jp>


> This seems to imply that we need the lock prefix even when updating
> different bits within the same long (not just the same byte). Is this
> interpretation correct?

Yes, that is what I said. The consistency applies to loads/stores
(so e.g. for 128bit SSE2 load/stores too), not bytes.

The current IA32 manuals have a more detailed description of the rules 
in volume 3

-Andi

      reply	other threads:[~2007-04-25  8:59 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-23 10:54 [PATCH] mm: PageLRU can be non-atomic bit operation Hisashi Hifumi
2007-04-23 11:16 ` Hugh Dickins
2007-04-23 12:34   ` Hisashi Hifumi
2007-04-23 13:42     ` Hugh Dickins
2007-04-24  1:54       ` Hisashi Hifumi
2007-04-24  2:29         ` KAMEZAWA Hiroyuki
2007-04-24  2:47         ` Nick Piggin
2007-04-24  8:12           ` Hisashi Hifumi
2007-04-24 10:13             ` Nick Piggin
2007-04-24 13:40         ` Hugh Dickins
2007-04-24 14:22           ` Andi Kleen
2007-04-25  8:56             ` Fernando Luis Vázquez Cao
2007-04-25  8:59               ` Andi Kleen [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=200704251059.24994.ak@suse.de \
    --to=ak@suse.de \
    --cc=akpm@linux-foundation.org \
    --cc=fernando@oss.ntt.co.jp \
    --cc=hifumi.hisashi@oss.ntt.co.jp \
    --cc=hugh@veritas.com \
    --cc=linux-kernel@vger.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