Date: Mon, 7 Sep 2009 08:37:25 +0000 (UTC) From: Attilio Rao <attilio@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern kern_mutex.c kern_rwlock.c kern_sx.c src/sys/sys systm.h Message-ID: <200909070837.n878bwBd016482@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
attilio 2009-09-07 08:37:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern kern_mutex.c kern_rwlock.c kern_sx.c sys/sys systm.h Log: SVN rev 196912 on 2009-09-07 08:37:25Z by attilio MFC r196334: Add the macro ASSERT_ATOMIC_LOAD_PTR(), enabled through INVARIANTS, which asserts for the correct alignment of datas which need to be read atomically without locks. Use that macro in locking primitives. Revision Changes Path 1.198.2.4 +3 -0 src/sys/kern/kern_mutex.c 1.28.4.6 +3 -0 src/sys/kern/kern_rwlock.c 1.55.2.2 +3 -0 src/sys/kern/kern_sx.c 1.260.2.6 +11 -0 src/sys/sys/systm.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909070837.n878bwBd016482>