From owner-cvs-all Mon Feb 3 11:49:40 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B37137B405; Mon, 3 Feb 2003 11:49:38 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6AA043FB9; Mon, 3 Feb 2003 11:49:35 -0800 (PST) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h13JnZbv029321; Mon, 3 Feb 2003 11:49:35 -0800 (PST) (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h13JnZqq029320; Mon, 3 Feb 2003 11:49:35 -0800 (PST) Message-Id: <200302031949.h13JnZqq029320@repoman.freebsd.org> From: Poul-Henning Kamp Date: Mon, 3 Feb 2003 11:49:35 -0800 (PST) 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 X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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