From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Subject: Re: [PATCH NET-NEXT 11/12] time sync: generic infrastructure to map between time stamps generated by a time counter and system time Date: Wed, 21 Jan 2009 11:33:30 +0100 Message-ID: <20090121103330.GA25531@elte.hu> References: <1232532612-10382-2-git-send-email-patrick.ohly@intel.com> <1232532612-10382-3-git-send-email-patrick.ohly@intel.com> <1232532612-10382-4-git-send-email-patrick.ohly@intel.com> <1232532612-10382-5-git-send-email-patrick.ohly@intel.com> <1232532612-10382-6-git-send-email-patrick.ohly@intel.com> <1232532612-10382-7-git-send-email-patrick.ohly@intel.com> <1232532612-10382-8-git-send-email-patrick.ohly@intel.com> <1232532612-10382-9-git-send-email-patrick.ohly@intel.com> <1232532612-10382-10-git-send-email-patrick.ohly@intel.com> <1232532612-10382-11-git-send-email-patrick.ohly@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, David Miller , linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Patrick Ohly , Thomas Gleixner Return-path: Content-Disposition: inline In-Reply-To: <1232532612-10382-11-git-send-email-patrick.ohly-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org * Patrick Ohly wrote: > Currently only mapping from time counter to system time is implemented. > The interface could have been made more versatile by not depending on a time counter, > but this wasn't done to avoid writing glue code elsewhere. > > The method implemented here is the one used and analyzed under the name > "assisted PTP" in the LCI PTP paper: > http://www.linuxclustersinstitute.org/conferences/archive/2008/PDF/Ohly_92221.pdf > --- > include/linux/clocksync.h | 85 +++++++++++++++++++ > kernel/time/Makefile | 2 +- > kernel/time/clocksync.c | 196 +++++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 282 insertions(+), 1 deletions(-) > create mode 100644 include/linux/clocksync.h > create mode 100644 kernel/time/clocksync.c hm, these bits have less than casual impact - i think they need to go via the timer tree. Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-api" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html