Date: Mon, 12 Oct 2009 15:56:27 +0000 (UTC) From: Attilio Rao <attilio@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern kern_rwlock.c kern_sx.c src/sys/sys rwlock.h sx.h Message-ID: <200910121557.n9CFv6RA040654@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
attilio 2009-10-12 15:56:27 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern kern_rwlock.c kern_sx.c sys/sys rwlock.h sx.h Log: SVN rev 197984 on 2009-10-12 15:56:27Z by attilio MFC r1979643: When releasing a read/shared lock we need to use a write memory barrier in order to avoid, on architectures which doesn't have strong ordered writes, CPU instructions reordering. Revision Changes Path 1.28.4.7 +4 -4 src/sys/kern/kern_rwlock.c 1.55.2.3 +4 -4 src/sys/kern/kern_sx.c 1.14.4.2 +0 -7 src/sys/sys/rwlock.h 1.37.2.2 +1 -8 src/sys/sys/sx.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910121557.n9CFv6RA040654>