Date: Sat, 16 Feb 2002 08:33:17 +0100 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: Matthew Dillon <dillon@apollo.backplane.com> Cc: arch@freebsd.org, jhb@freebsd.org, peter@wemm.org, jake@locore.ca Subject: Re: gettimeofday() and copyout(). Is copyout() MPSAFE on non-i386 archs? Message-ID: <6988.1013844797@critter.freebsd.dk> In-Reply-To: Your message of "Fri, 15 Feb 2002 21:00:45 PST." <200202160500.g1G50j145638@apollo.backplane.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <200202160500.g1G50j145638@apollo.backplane.com>, Matthew Dillon wri tes: > 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. Make sure to run something which abuses gettimeofday() for select, maybe netscape or some other multi-threaded nightmare. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. 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?6988.1013844797>