Module Name: src Committed By: riastradh Date: Fri Nov 21 16:21:13 UTC 2014
Modified Files: src/share/man/man9: pserialize.9 Log Message: Use membar_consumer until we have membar_datadep_consumer. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/share/man/man9/pserialize.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/man/man9/pserialize.9 diff -u src/share/man/man9/pserialize.9:1.7 src/share/man/man9/pserialize.9:1.8 --- src/share/man/man9/pserialize.9:1.7 Fri Nov 21 15:44:42 2014 +++ src/share/man/man9/pserialize.9 Fri Nov 21 16:21:13 2014 @@ -1,4 +1,4 @@ -.\" $NetBSD: pserialize.9,v 1.7 2014/11/21 15:44:42 riastradh Exp $ +.\" $NetBSD: pserialize.9,v 1.8 2014/11/21 16:21:13 riastradh Exp $ .\" .\" Copyright (c) 2011 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -112,7 +112,8 @@ Find a frotz, as a reader: s = pserialize_read_enter(); for (f = frobbotzim; f != NULL; f = f->f_next) { -.\" membar_datadep_consumer(); + /* Fetch f before we fetch anything f points to. */ + membar_consumer(); if (f->f_... = key) { *resultp = f->f_...; error = 0;