Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754482AbZAFEx5 (ORCPT ); Mon, 5 Jan 2009 23:53:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750878AbZAFExs (ORCPT ); Mon, 5 Jan 2009 23:53:48 -0500 Received: from rn-out-0910.google.com ([64.233.170.188]:60849 "EHLO rn-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750845AbZAFExr (ORCPT ); Mon, 5 Jan 2009 23:53:47 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:references; b=DNWKrXnzcOgydMJWE5T5wRE7JGYIVM8uUVCbeZ7oqWN+yQUhHBmsPbvSkDeCWPUy2w JpylfFJJSsUY8ODwKHGw+Ah3oY1+g9INw/Mlvd6Fk8QdsbN4kvHPlYkNJxXSiedwJUYe WwgqI//Q0H1vYRatwatI3y7WZAwalA9KaKqYc= Message-ID: <3ae3aa420901052053m5a410671u13ecccfb7e29260c@mail.gmail.com> Date: Mon, 5 Jan 2009 22:53:46 -0600 From: "Linas Vepstas" Reply-To: linasvepstas@gmail.com To: "john stultz-lkml" Subject: Re: Bug: Status/Summary of slashdot leap-second crash on new years 2008-2009 Cc: david@lang.hm, "Nick Andrew" , "David Newall" , "Kyle Moffett" , "Ben Goodger" , "Robert Hancock" , linux-kernel@vger.kernel.org, "Jeffrey J. Kosowsky" , MentalMooMan , "Travis Crump" , burdell@iruntheinter.net, mills@udel.edu, "Brian Haberman" , "Karen O'Donoghue" , ntpwg@lists.ntp.isc.org, zippel@linux-m68k.org In-Reply-To: <1f1b08da0901051827r57158990ic795208ba37120ad@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <495F0672.6020708@davidnewall.com> <4961432A.80509@davidnewall.com> <49614835.7000505@davidnewall.com> <3ae3aa420901042148o1c96985dube8e03085c997a07@mail.gmail.com> <20090105143335.GC18055@mail.local.tull.net> <3ae3aa420901050808r100e533fo5f88edfbb5f0747a@mail.gmail.com> <3ae3aa420901050942y56f0ecdei39c091a73e49c1fd@mail.gmail.com> <1f1b08da0901051827r57158990ic795208ba37120ad@mail.gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1311 Lines: 31 2009/1/5 john stultz-lkml : > On Mon, Jan 5, 2009 at 9:42 AM, Linas Vepstas wrote: > [snip] >> The long term solution would be write an RFC to extend >> NTP to also provide TAI information -- e.g. to add a >> message that indicates the current leap-second offset >> between UTC and TAI. > > I believe Roman has already added this ability: > http://git.kernel.org/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=153b5d054ac2d98ea0d86504884326b6777f683d;hp=9f14f669d18477fe3df071e2fa4da36c00acee8e Well, you're answering a different statment than what I was talking about -- I wanted to make sure that TAI information was available via NTP -- this has nothing to do with the kernel, and would be something available to all operating systems. Anyway -- I'm looking at the patch you reference, and maybe I'm being dumb -- but -- I think I see a bug. case TIME_DEL decrements TAI, but TIME_INS does not increment it. Instead, there's a lonely increment in TIME_OOP which seems wrong. ?? --linas -- 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/