mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Rusty Russell <rusty@au1.ibm.com>
To: paulmck@us.ibm.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: [DOCUMENTATION] Revised Unreliable Kernel Locking Guide
Date: Tue, 16 Dec 2003 17:32:37 +1100	[thread overview]
Message-ID: <20031216232331.8A111189E1@ozlabs.au.ibm.com> (raw)
In-Reply-To: Your message of "Mon, 15 Dec 2003 14:22:14 -0800." <20031215222213.GA1270@us.ibm.com>

In message <20031215222213.GA1270@us.ibm.com> you write:
> > 	How do we get rid of read locks?  Getting rid of read locks
> > 	means that writers may be changing the list underneath the readers.
> > 	That is actually quite simple:
> 
> Looks good!  Upon rereading...  Does "wmb()" want to be "smp_wmb()"?

Yes, but I didn't want to turn this into a document on memory
barriers: you'll note that I almost avoided it entirely.

> Again, upon rereading, "read Read Copy Update code" probably wants to
> be "real Read Copy Update code".   I moused it this time, given
> my past record with eyeballing.  ;-)

Fixed.

> > Now, because the 'read lock' in RCU is simply disabling preemption, a
> > caller which always preemption disabled between calling
>                       disables preemption

Ah, I inserted a 'has' as well (a caller which always has preemption
disabled...).  The implication that the caller probably has preempt
disabled as a side effect of being in an interrupt or holding a
spinlock.

> > I've uploaded a new draft with these and other fixes...
> 
> Good stuff, thank you!!!

Hey, thanks for the review!

Cheers,
Rusty.
--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.

  reply	other threads:[~2003-12-16 23:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-12  5:24 Rusty Russell
2003-12-12 15:44 ` Dave Jones
2003-12-12 16:25   ` Keith Owens
2003-12-12 18:25     ` Dave Jones
2003-12-13  0:28       ` Keith Owens
2003-12-12 21:05   ` Rob Love
2003-12-15  2:28   ` Rusty Russell
2003-12-12 19:35 ` Paul E. McKenney
2003-12-13  3:16   ` Zwane Mwaikambo
2003-12-15  5:17     ` Rusty Russell
2003-12-15  5:17   ` Rusty Russell
2003-12-15 22:22     ` Paul E. McKenney
2003-12-16  6:32       ` Rusty Russell [this message]
2003-12-13  3:15 Manfred Spraul

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=20031216232331.8A111189E1@ozlabs.au.ibm.com \
    --to=rusty@au1.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paulmck@us.ibm.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

all inboxes | Powered by JetHome®