Date: Fri, 28 Oct 2005 21:38:23 +0800 From: David Xu <davidxu@freebsd.org> To: Poul-Henning Kamp <phk@phk.freebsd.dk> Cc: Pertti Kosunen <pertti.kosunen@pp.nic.fi>, Robert Watson <rwatson@FreeBSD.org>, current@freebsd.org, "Yuriy N. Shkandybin" <jura@networks.ru> Subject: Re: Timers and timing, was: MySQL Performance 6.0rc1 Message-ID: <436229CF.6040001@freebsd.org> In-Reply-To: <32412.1130505646@critter.freebsd.dk> References: <32412.1130505646@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
Poul-Henning Kamp wrote: >>On the other hand, a lower risk change might be to simply add a new CLOCK_ >>type for lower resolution, and have a timer synchronize a variable to the >>system clock once every 1/10 of a second. This avoids having to muck with >>VM layout, etc. >> >> > >Is the CLOCK_* namespace ours to muck about with in the first place ? > > > I prefer this way, can you implement it? The global page idea is a complex, someone can slowly work on it, there are many things can be done, for example, fast syscall using sysenter/sysexit.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?436229CF.6040001>