Date: Sun, 25 May 2008 14:57:43 +0000 (UTC) From: Attilio Rao <attilio@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_descrip.c src/sys/sys file.h Message-ID: <200805251457.m4PEvhUA095208@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
attilio 2008-05-25 14:57:43 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c sys/sys file.h Log: Replace direct atomic operation for the file refcount witht the refcount interface. It also introduces the correct usage of memory barriers, as sometimes fdrop() and fhold() are used with shared locks, which don't use any release barrier. Revision Changes Path 1.333 +2 -2 src/sys/kern/kern_descrip.c 1.78 +5 -3 src/sys/sys/file.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805251457.m4PEvhUA095208>