* [PATCH] kernel locking guide fix.
@ 2001-05-02 11:15 Rusty Russell
0 siblings, 0 replies; only message in thread
From: Rusty Russell @ 2001-05-02 11:15 UTC (permalink / raw)
To: alan; +Cc: linux-kernel
diff -urN -I \$.*\$ -X /tmp/kerndiff.hKrYxB --minimal linux-2.4.4-official/Documentation/DocBook/kernel-locking.tmpl working-2.4.4-rcu/Documentation/DocBook/kernel-locking.tmpl
--- linux-2.4.4-official/Documentation/DocBook/kernel-locking.tmpl Tue May 1 12:26:15 2001
+++ working-2.4.4-rcu/Documentation/DocBook/kernel-locking.tmpl Wed May 2 21:14:19 2001
@@ -760,8 +760,11 @@
</para>
<para>
- Any atomic operation is defined to act as a memory barrier
- (ie. as per the <function>mb()</function> macro). Also,
+ Some atomic operations are defined to act as a memory barrier
+ (ie. as per the <function>mb()</function> macro, but if in
+ doubt, be explicit.
+ <!-- Rusty Russell 2 May 2001, 2.4.4 -->
+ Also,
spinlock operations act as partial barriers: operations after
gaining a spinlock will never be moved to precede the
<function>spin_lock()</function> call, and operations before
--
Premature optmztion is rt of all evl. --DK
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-05-02 11:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-02 11:15 [PATCH] kernel locking guide fix Rusty Russell
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).