[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090312181225.GC26099@tuxbookpro.rit.edu>
Date: Thu, 12 Mar 2009 14:12:25 -0400
From: "J.R. Mauro" <jrm8005@...il.com>
To: Chris Brannon <cmbrannon@....net>
Cc: john stultz <johnstul@...ibm.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] /dev/time for Linux, inspired by Plan 9
On Sat, Mar 07, 2009 at 10:23:05AM -0600, Chris Brannon wrote:
> John Stultz wrote:
> > On Tue, Mar 3, 2009 at 7:06 PM, Christopher Brannon <cmbrannon@....net> wrote:
> > > I implemented such a facility for Linux. A read of /dev/time produces
> > > four decimal numbers: epoch seconds, nanoseconds since start of epoch,
> > > jiffies since boot, and jiffies per second.
> >
> > Ehh. Why would we want to export raw kernel internal values like
> > jiffies and HZ?
> >
> > I think the CLOCK_MONOTONIC clockid would probably be a better value to export.
>
> I'll look at CLOCK_MONOTONIC clockid. I'm more than glad to export something
> more appropriate, including nothing at all (dummy values, perhaps).
Chris, are the current values exactly what one would get if reading /dev/time on
Plan 9? If possible, it would be nice to aim for 100% compatibility as there are
folks trying to get complete Plan 9 binary compatibility working in Linux.
>
> -- Chris
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
J.R. Mauro
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against Microsoft attachments
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists