From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Friesen Date: Mon, 29 Mar 2004 04:47:22 +0000 Subject: Re: [PATCH[ udevd race conditions and performance, assorted cleanups Message-Id: <4067AA5A.7070707@sympatico.ca> List-Id: References: <4065078F.1070008@sympatico.ca> In-Reply-To: <4065078F.1070008@sympatico.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Kay Sievers wrote: > Chris, > here is a patch on top of your nice improvements. > I fixed the whitespace and it hopefully fixes the stupid timestamp bug in > udevd. Some stupid OS sets the hwclock to localtime and linux changes it > to UTC while starting. If any events are pending they may be delayed by > the users time distance from UTC :) So we use the uptime seconds now. Looks good. Sorry about the whitespace stuff...I forgot to change my settings back after working on another project. About the time stuff. Wouldn't it be nice if glibc had a wrapper around the various ways to get a high resolution monotonically increasing 64-bit timestamp of "time since boot"? So for x86 you'd end up using the tsc, for ppc you'd use the tbr, etc, etc. Currently we've got no portable way to get a high res time that can't go backwards. Chris ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel