Re: [PATCH 0/2] [RFC] posix clock tuning

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Richard Cochran
Date: Thursday, September 9, 2010 - 5:21 am

On Thu, Sep 09, 2010 at 11:58:09AM +0200, Thomas Gleixner wrote:

Sorry about that. Still learning how to work on the list.  The story
so far is...

** PTP hardware clock as a character device (54 messages)

   http://lkml.org/lkml/2010/8/16/90

   The general mood of this was something like: "You have made a
   chardev for PTP clocks. The ioctls look similar to the posix clock
   api. Why not just use the posix api?"

** posix clock tuning syscall, static clockid (13 messages)

   http://lkml.org/lkml/2010/8/23/49

   The general mood of this one was: "I don't like a static clockid
   for PTP clocks. But a dynamic id would be just fine."

** posix clock tuning syscall, dynamic clockid (16 messages)

   http://lkml.org/lkml/2010/9/3/119 (This thread)

   The mood seems to be, "why not use a chardev for that?"

From my point of view, the discussion is going round in circles. There
seems to be agreement that supporting PTP hardware clocks is a good
idea. The objections seem to be about the form of the API. In general,
there are three avenues.

1. character device (like hpet)
2. posix clock api
3. sysfs

Or possibly some combination of the three.

I have my preference, but I am willing to work it according to
taste. Would you have some preference?


The whole hardware timestamping and PTP clock issue is somewhat
network related. In particular, needed to start there to get some
background support for timestamping within PHY devices.

Thanks,

Richard
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/2] [RFC] posix clock tuning, Richard Cochran, (Fri Sep 3, 2:27 am)
[PATCH 2/2] posix clocks: introduce a sysfs presence., Richard Cochran, (Fri Sep 3, 2:30 am)
Re: [PATCH 0/2] [RFC] posix clock tuning, Christoph Lameter, (Sat Sep 4, 10:23 am)
Re: [PATCH 0/2] [RFC] posix clock tuning, Christian Riesch, (Sat Sep 4, 10:48 am)
Re: [PATCH 0/2] [RFC] posix clock tuning, Christoph Lameter, (Sat Sep 4, 6:37 pm)
Re: [PATCH 0/2] [RFC] posix clock tuning, Christoph Lameter, (Sat Sep 4, 6:47 pm)
Re: [PATCH 0/2] [RFC] posix clock tuning, Richard Cochran, (Sat Sep 4, 10:56 pm)
Re: [PATCH 0/2] [RFC] posix clock tuning, Richard Cochran, (Sat Sep 4, 11:22 pm)
Re: [PATCH 0/2] [RFC] posix clock tuning, Richard Cochran, (Sun Sep 5, 12:20 am)
Re: [PATCH 0/2] [RFC] posix clock tuning, Christoph Lameter, (Sun Sep 5, 4:13 pm)
Re: [PATCH 0/2] [RFC] posix clock tuning, Richard Cochran, (Mon Sep 6, 12:09 am)
Re: [PATCH 0/2] [RFC] posix clock tuning, Thomas Gleixner, (Thu Sep 9, 2:58 am)
Re: [PATCH 0/2] [RFC] posix clock tuning, Richard Cochran, (Thu Sep 9, 5:21 am)
Re: [PATCH 0/2] [RFC] posix clock tuning, Thomas Gleixner, (Thu Sep 9, 5:50 am)
Re: [PATCH 0/2] [RFC] posix clock tuning, Alan Cox, (Thu Sep 9, 8:02 am)
Re: [PATCH 2/2] posix clocks: introduce a sysfs presence., Richard Cochran, (Fri Sep 10, 2:31 am)