lkml.org 
[lkml]   [2001]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] kernel locking guide fix.
Date
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.020 / U:1.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site