From: Andrew Morton <akpm@digeo.com>
To: Anton Blanchard <anton@samba.org>
Cc: shemminger@osdl.org, torvalds@transmeta.com, andrea@suse.de,
ak@suse.de, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] (1/4) 2.5.59 fast reader/writer lock for gettimeofday
Date: Wed, 29 Jan 2003 00:41:33 -0800 [thread overview]
Message-ID: <20030129004133.33de30a8.akpm@digeo.com> (raw)
In-Reply-To: <20030129072622.GA18250@krispykreme>
Anton Blanchard <anton@samba.org> wrote:
>
>
> > These need to be mb(), not wmb(), if you want the bits in between
> > to actually happen in between, as with your xtime example. At
> > present there's nothing stoping xtime from being *read* before
> > your read from pre_sequence happens.
>
> But with frlocks we synchronise writers with a spinlock, so shouldnt it
> provide that synchronisation?
>
Richard is referring to the new fr_write_begin/end code, which doesn't take a
spinlock because it assumes that writer serialisation has been provided by
external means.
next prev parent reply other threads:[~2003-01-29 8:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-28 23:42 [PATCH] (1/4) 2.5.59 fast reader/writer lock for gettimeofday Stephen Hemminger
2003-01-29 7:06 ` Richard Henderson
2003-01-29 7:26 ` Anton Blanchard
2003-01-29 8:41 ` Andrew Morton [this message]
2003-01-30 1:15 ` frlock and barrier discussion Stephen Hemminger
2003-01-30 1:29 ` Andrea Arcangeli
2003-01-30 1:41 ` Richard Henderson
2003-01-30 1:52 ` Andrea Arcangeli
2003-01-31 0:41 ` Richard Henderson
2003-01-31 0:57 ` Andrea Arcangeli
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=20030129004133.33de30a8.akpm@digeo.com \
--to=akpm@digeo.com \
--cc=ak@suse.de \
--cc=andrea@suse.de \
--cc=anton@samba.org \
--cc=linux-kernel@vger.kernel.org \
--cc=shemminger@osdl.org \
--cc=torvalds@transmeta.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox