From owner-cvs-all Mon Feb 3 13:23:18 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 7B6CA37B405 for ; Mon, 3 Feb 2003 13:23:16 -0800 (PST) Received: from mail.speakeasy.net (mail16.speakeasy.net [216.254.0.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2629F43F79 for ; Mon, 3 Feb 2003 13:23:15 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 3422 invoked from network); 3 Feb 2003 21:23:22 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail16.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 3 Feb 2003 21:23:22 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id h13LNCUT086157; Mon, 3 Feb 2003 16:23:13 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200302031949.h13JnZqq029320@repoman.freebsd.org> Date: Mon, 03 Feb 2003 16:23:20 -0500 (EST) From: John Baldwin To: Poul-Henning Kamp Subject: RE: cvs commit: src/sys/fs/msdosfs msdosfs_conv.c src/sys/fs/nwf Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org 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 On 03-Feb-2003 Poul-Henning Kamp wrote: > 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. Umm, what's to prevent, say, a sparc64 CPU from being interrupted in between the load, modify, and store instructions? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message