Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Feb 2003 16:23:20 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Poul-Henning Kamp <phk@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   RE: cvs commit: src/sys/fs/msdosfs msdosfs_conv.c src/sys/fs/nwf
Message-ID:  <XFMail.20030203162320.jhb@FreeBSD.org>
In-Reply-To: <200302031949.h13JnZqq029320@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <jhb@FreeBSD.org>  <><  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20030203162320.jhb>