From owner-freebsd-arch Fri Feb 15 21: 0:55 2002 Delivered-To: freebsd-arch@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 7299E37B402; Fri, 15 Feb 2002 21:00:49 -0800 (PST) Received: (from dillon@localhost) by apollo.backplane.com (8.11.6/8.9.1) id g1G50j145638; Fri, 15 Feb 2002 21:00:45 -0800 (PST) (envelope-from dillon) Date: Fri, 15 Feb 2002 21:00:45 -0800 (PST) From: Matthew Dillon Message-Id: <200202160500.g1G50j145638@apollo.backplane.com> To: arch@freebsd.org Cc: phk@critter.freebsd.dk, jhb@freebsd.org, peter@wemm.org, jake@locore.ca Subject: gettimeofday() and copyout(). Is copyout() MPSAFE on non-i386 archs? 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 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. -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message