Date: Thu, 21 Oct 2010 17:29:32 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/vm vm_map.c vm_map.h Message-ID: <201010211729.o9LHTmN7004387@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2010-10-21 17:29:32 UTC FreeBSD src repository Modified files: sys/vm vm_map.c vm_map.h Log: SVN rev 214144 on 2010-10-21 17:29:32Z by jhb - Make 'vm_refcnt' volatile so that compilers won't be tempted to treat its value as a loop invariant. Currently this is a no-op because 'atomic_cmpset_int()' clobbers all memory on current architectures. - Use atomic_fetchadd_int() instead of an atomic_cmpset_int() loop to drop a reference in vmspace_free(). Reviewed by: alc MFC after: 1 month Revision Changes Path 1.435 +1 -5 src/sys/vm/vm_map.c 1.137 +1 -1 src/sys/vm/vm_map.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010211729.o9LHTmN7004387>