Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man Xref __insn_barrier(3) and mb(9) with each other.



details:   https://anonhg.NetBSD.org/src/rev/a6fb23278535
branches:  trunk
changeset: 760293:a6fb23278535
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Sun Jan 02 07:14:02 2011 +0000

description:
Xref __insn_barrier(3) and mb(9) with each other.

diffstat:

 share/man/man3/__insn_barrier.3 |  7 ++++---
 share/man/man9/mb.9             |  8 +++-----
 2 files changed, 7 insertions(+), 8 deletions(-)

diffs (76 lines):

diff -r b6189c1e2758 -r a6fb23278535 share/man/man3/__insn_barrier.3
--- a/share/man/man3/__insn_barrier.3   Sun Jan 02 07:03:46 2011 +0000
+++ b/share/man/man3/__insn_barrier.3   Sun Jan 02 07:14:02 2011 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: __insn_barrier.3,v 1.1 2010/12/17 07:10:38 jruoho Exp $
+.\" $NetBSD: __insn_barrier.3,v 1.2 2011/01/02 07:14:02 jruoho Exp $
 .\"
 .\" Copyright (c) 2010 Jukka Ruohonen <jruohonen%iki.fi@localhost>
 .\" All rights reserved.
@@ -24,7 +24,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd December 17, 2010
+.Dd January 2, 2011
 .Dt __INSN_BARRIER 3
 .Os
 .Sh NAME
@@ -50,7 +50,8 @@
 from misoptimizing.
 .Sh SEE ALSO
 .Xr gcc 1 ,
-.Xr cdefs 3
+.Xr cdefs 3 ,
+.Xr mb 9
 .Rs
 .%A Paul E. McKenney
 .%T Memory Barriers: a Hardware View for Software Hackers
diff -r b6189c1e2758 -r a6fb23278535 share/man/man9/mb.9
--- a/share/man/man9/mb.9       Sun Jan 02 07:03:46 2011 +0000
+++ b/share/man/man9/mb.9       Sun Jan 02 07:14:02 2011 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: mb.9,v 1.5 2008/04/30 13:10:58 martin Exp $
+.\"    $NetBSD: mb.9,v 1.6 2011/01/02 07:14:02 jruoho Exp $
 .\"
 .\" Copyright (c) 2007 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd April 8, 2007
+.Dd January 2, 2011
 .Dt MB 9
 .Os
 .Sh NAME
@@ -90,13 +90,11 @@
 .Sh FUNCTIONS
 .Bl -tag -width abcd
 .It Fn mb_memory ""
-.Pp
 Issue a full memory barrier, ordering all memory accesses.
 Causes all loads and stores preceding the call to
 .Fn mb_memory
 to complete before further memory accesses can be made.
 .It Fn mb_read ""
-.Pp
 Issue a read memory barrier, ordering all loads from memory.
 Causes all loads preceding the call to
 .Fn mb_read
@@ -104,7 +102,6 @@
 Stores may be reordered ahead of or behind a call to
 .Fn mb_read .
 .It Fn mb_write ""
-.Pp
 Issue a write memory barrier, ordering all stores to memory.
 Causes all stores preceding the call to
 .Fn mb_write
@@ -113,6 +110,7 @@
 .Fn mb_write .
 .El
 .Sh SEE ALSO
+.Xr __insn_barrier 3 ,
 .Xr bus_dma 9 ,
 .Xr bus_space 9 ,
 .Xr mutex 9 ,



Home | Main Index | Thread Index | Old Index