[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090222203933.GA18914@elte.hu>
Date: Sun, 22 Feb 2009 21:39:33 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Rodolfo Giometti <giometti@...ux.it>
Cc: linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
David Woodhouse <dwmw2@...radead.org>,
Dave Jones <davej@...hat.com>, Sam Ravnborg <sam@...nborg.org>,
Greg KH <greg@...ah.com>,
Randy Dunlap <randy.dunlap@...cle.com>,
Kay Sievers <kay.sievers@...y.org>,
Alan Cox <alan@...rguk.ukuu.org.uk>,
"H. Peter Anvin" <hpa@...or.com>,
Michael Kerrisk <mtk.manpages@...il.com>,
Christoph Hellwig <hch@...radead.org>,
John Stultz <johnstul@...ibm.com>
Subject: Re: [PATCH 1/1] LinuxPPS core support.
* Rodolfo Giometti <giometti@...ux.it> wrote:
> This patch adds the kernel side of the PPS support currently
> named "LinuxPPS".
>
> PPS means "pulse per second" and a PPS source is just a device
> which provides a high precision signal each second so that an
> application can use it to adjust system clock time.
>
> Common use is the combination of the NTPD as userland program
> with a GPS receiver as PPS source to obtain a wallclock-time
> with sub-millisecond synchronisation to UTC.
Hm. I was looking at this stuff with the prospect of adding it
to the timer tree, but i'm really struggling with a few
fundamental questions.
The most basic one is: why do we need this?
The main purpose of your current patchset seems to be to deliver
interrupt timestamps to user-space, where it will in essence be
used to feed new adjtimex adjustments via ntpd.
I.e. the whole thing comes around in a circle in the end, but
via user-space, where jitter will only increase.
Why not cut out the jittery middle man and add some intelligent
API to register PPS interrupt sources straight with the NTP
code, and let those IRQ timestamps be fed _directly_ into our
time adjustment code?
Ingo
--
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