From owner-freebsd-arch Wed Feb 20 14:27:37 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mail12.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by hub.freebsd.org (Postfix) with ESMTP id 4213D37B402 for ; Wed, 20 Feb 2002 14:27:21 -0800 (PST) Received: (qmail 11331 invoked from network); 20 Feb 2002 22:27:20 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([65.90.117.57]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 20 Feb 2002 22:27:20 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200202160500.g1G50j145638@apollo.backplane.com> Date: Wed, 20 Feb 2002 17:27:21 -0500 (EST) From: John Baldwin To: Matthew Dillon Subject: RE: gettimeofday() and copyout(). Is copyout() MPSAFE on non-i3 Cc: jake@locore.ca, peter@wemm.org, phk@critter.freebsd.dk, arch@freebsd.org Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 > -- 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 freebsd-arch" in the body of the message