Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Feb 2002 16:05:11 -0500 (EST)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        arch@freebsd.org, phk@critter.freebsd.dk, jhb@freebsd.org, peter@wemm.org, jake@locore.ca
Subject:   Re: gettimeofday() and copyout().  Is copyout() MPSAFE on non-i386 archs?
Message-ID:  <15473.27783.127191.533025@grasshopper.cs.duke.edu>
In-Reply-To: <200202160500.g1G50j145638@apollo.backplane.com>
References:  <200202160500.g1G50j145638@apollo.backplane.com>

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

Matthew Dillon writes:
 >     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.

I also think copyout on alpha is mpsafe.  However, I have no mp
alphas, so I have no way of testing this.

Drew

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?15473.27783.127191.533025>