Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763754AbZAUKdw (ORCPT ); Wed, 21 Jan 2009 05:33:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755382AbZAUKdj (ORCPT ); Wed, 21 Jan 2009 05:33:39 -0500 Received: from mx3.mail.elte.hu ([157.181.1.138]:51560 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755092AbZAUKdi (ORCPT ); Wed, 21 Jan 2009 05:33:38 -0500 Date: Wed, 21 Jan 2009 11:33:30 +0100 From: Ingo Molnar To: Patrick Ohly , Thomas Gleixner Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, David Miller , linux-api@vger.kernel.org Subject: Re: [PATCH NET-NEXT 11/12] time sync: generic infrastructure to map between time stamps generated by a time counter and system time 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 Content-Disposition: inline In-Reply-To: <1232532612-10382-11-git-send-email-patrick.ohly@intel.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1147 Lines: 27 * 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-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/