Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2002 17:27:21 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        jake@locore.ca, peter@wemm.org, phk@critter.freebsd.dk, arch@freebsd.org
Subject:   RE: gettimeofday() and copyout().  Is copyout() MPSAFE on non-i3
Message-ID:  <XFMail.020220172721.jhb@FreeBSD.org>
In-Reply-To: <200202160500.g1G50j145638@apollo.backplane.com>

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

On 16-Feb-02 Matthew Dillon wrote:
>     Poul indicated today that the microtime() call that gettimeofday() uses
>     is MPSAFE.  copyout() on I386 is MPSAFE, and from my perusal of the
>     other archs it appears to be MPSAFE for alpha, ia64, and sparc64 
>     as well.  
> 
>     This would seem to indicate that Giant can be removed from the
>     gettimeofday() system call.  I would like those familiar with the
>     other archs to verify that copyout() is MPSAFE on them.  I am testing
>     Giant removal for this syscall on i386 now.

The tz stuff still needs Giant, or perhaps some sort of lock for that variable.

>                                       -Matt
>                                       Matthew Dillon 
>                                       <dillon@backplane.com>

-- 

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 freebsd-arch" in the body of the message




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