Date: Sat, 16 Jun 2012 23:39:22 +0300 From: Konstantin Belousov <kostikbel@gmail.com> To: arch@freebsd.org Cc: flo@freebsd.org, bde@freebsd.org Subject: Re: Fast gettimeofday(2) and clock_gettime(2) Message-ID: <20120616203922.GV2337@deviant.kiev.zoral.com.ua> In-Reply-To: <201206131537.34738.jhb@freebsd.org> References: <20120612215319.GR2337@deviant.kiev.zoral.com.ua> <201206131537.34738.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--RI0j69zTdciYrvy/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline The latest version of the patch is at http://people.freebsd.org/~kib/misc/moronix.6.patch The patch was extensively discussed with Bruce, reviewed by John and performance-tested by Florian. I consider it ready for commit. Patch enables shared page on i386, since it now has a use on this architecture as well. For non-x86, a placeholder is implemented to allow the architectures to compile. I cannot test them, and I would be glad to get confirmations that gettimeofday() is not broken on them. I looked over some non-x86 architectures, in particular, mips, powerpc and sparc, which have facilities similar to tsc. I definitely will help for architecture maintainers to implement usermode gettimeofday(). Unless somebody raise valid objections, I plan to commit this next week. --RI0j69zTdciYrvy/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAk/c7voACgkQC3+MBN1Mb4iDSgCg6ZHZli4DehQT+je168ztjxdy U+sAoNn7YjndjpUl8337eBKAhsGVZklu =bHrb -----END PGP SIGNATURE----- --RI0j69zTdciYrvy/--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120616203922.GV2337>