Date: Mon, 3 Feb 2003 11:49:35 -0800 (PST) From: Poul-Henning Kamp <phk@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/msdosfs msdosfs_conv.c src/sys/fs/nwfs nwfs_subr.c src/sys/fs/smbfs smbfs_subr.c src/sys/i386/ibcs2 ibcs2_xenix.c src/sys/i386/isa clock.c src/sys/kern kern_time.c subr_clock.c src/sys/pc98/pc98 clock.c src/sys/sys kernel.h Message-ID: <200302031949.h13JnZqq029320@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 2003/02/03 11:49:35 PST Modified files: sys/fs/msdosfs msdosfs_conv.c sys/fs/nwfs nwfs_subr.c sys/fs/smbfs smbfs_subr.c sys/i386/ibcs2 ibcs2_xenix.c sys/i386/isa clock.c sys/kern kern_time.c subr_clock.c sys/pc98/pc98 clock.c sys/sys kernel.h Log: Split the global timezone structure into two integer fields to prevent the compiler from optimizing assignments into byte-copy operations which might make access to the individual fields non-atomic. Use the individual fields throughout, and don't bother locking them with Giant: it is no longer needed. Inspired by: tjr Revision Changes Path 1.33 +2 -2 src/sys/fs/msdosfs/msdosfs_conv.c 1.11 +2 -2 src/sys/fs/nwfs/nwfs_subr.c 1.3 +2 -2 src/sys/fs/smbfs/smbfs_subr.c 1.32 +2 -2 src/sys/i386/ibcs2/ibcs2_xenix.c 1.194 +2 -2 src/sys/i386/isa/clock.c 1.96 +6 -7 src/sys/kern/kern_time.c 1.3 +2 -2 src/sys/kern/subr_clock.c 1.120 +3 -3 src/sys/pc98/pc98/clock.c 1.109 +3 -2 src/sys/sys/kernel.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302031949.h13JnZqq029320>