All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor.org>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: xen-devel@lists.xensource.com, Jan Beulich <jbeulich@novell.com>,
	Samuel Thibault <samuel.thibault@eu.citrix.com>
Subject: Re: Linux questions
Date: Tue, 04 Dec 2007 12:13:41 +0100	[thread overview]
Message-ID: <p73r6i2k90a.fsf@bingen.suse.de> (raw)
In-Reply-To: <C37AE293.195B6%Keir.Fraser@cl.cam.ac.uk> (Keir Fraser's message of "Tue\, 04 Dec 2007 10\:55\:15 +0000")

Keir Fraser <Keir.Fraser@cl.cam.ac.uk> writes:

> On 4/12/07 10:23, "Jan Beulich" <jbeulich@novell.com> wrote:
>
>> I have to disagree: At least the uses of barrier() in monotonic_clock() appear
>> to be in places where in reality (and from a theoretical standpoint) rmb()
>> ought to be used.
>
> We're sync'ing against concurrent updates of a this_cpu variable. We can
> only race updates in a local ISR, and hence barrier() suffices.

Not if you use RDTSC inside the loop.

-Andi

  reply	other threads:[~2007-12-04 11:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-03 11:24 Linux questions Jan Beulich
2007-12-03 11:29 ` Samuel Thibault
2007-12-03 11:40   ` Jan Beulich
2007-12-03 18:32     ` Keir Fraser
2007-12-04 10:23       ` Jan Beulich
2007-12-04 10:55         ` Keir Fraser
2007-12-04 11:13           ` Andi Kleen [this message]
2007-12-04 11:27             ` Keir Fraser
2007-12-04 11:44               ` Andi Kleen
2007-12-04 11:56                 ` Keir Fraser
2007-12-04 12:23                   ` Andi Kleen

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=p73r6i2k90a.fsf@bingen.suse.de \
    --to=andi@firstfloor.org \
    --cc=Keir.Fraser@cl.cam.ac.uk \
    --cc=jbeulich@novell.com \
    --cc=samuel.thibault@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.