Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760045AbZAGPlV (ORCPT ); Wed, 7 Jan 2009 10:41:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752803AbZAGPlG (ORCPT ); Wed, 7 Jan 2009 10:41:06 -0500 Received: from earthlight.etchedpixels.co.uk ([81.2.110.250]:49421 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752380AbZAGPlE (ORCPT ); Wed, 7 Jan 2009 10:41:04 -0500 Date: Wed, 7 Jan 2009 15:40:35 +0000 From: Alan Cox To: David Newall Cc: Nick Andrew , Linas Vepstas , david@lang.hm, Kyle Moffett , Ben Goodger , Robert Hancock , linux-kernel@vger.kernel.org, "Jeffrey J. Kosowsky" , MentalMooMan , Travis Crump , burdell@iruntheinter.net Subject: Re: Bug: Status/Summary of slashdot leap-second crash on new years 2008-2009 Message-ID: <20090107154035.3fce1c07@lxorguk.ukuu.org.uk> In-Reply-To: <4964BDD2.3000803@davidnewall.com> References: <496076A9.7030907@davidnewall.com> <4960897D.5030603@davidnewall.com> <4961432A.80509@davidnewall.com> <49614835.7000505@davidnewall.com> <3ae3aa420901042148o1c96985dube8e03085c997a07@mail.gmail.com> <20090105143335.GC18055@mail.local.tull.net> <4962BB13.7060304@davidnewall.com> <20090106025125.GB28431@mail.local.tull.net> <20090106094058.64c89586@lxorguk.ukuu.org.uk> <496479EA.1020207@davidnewall.com> <20090107095419.70b78dc7@lxorguk.ukuu.org.uk> <49648163.9060007@davidnewall.com> <20090107105201.054c011f@lxorguk.ukuu.org.uk> <4964B20B.4030406@davidnewall.com> <20090107141025.143158b7@lxorguk.ukuu.org.uk> <4964BDD2.3000803@davidnewall.com> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.12; x86_64-redhat-linux-gnu) Organization: Red Hat UK Cyf., Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, Y Deyrnas Gyfunol. Cofrestrwyd yng Nghymru a Lloegr o'r rhif cofrestru 3798903 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 762 Lines: 17 > Is there a mktime() in the kernel? Isn't it pure user-space? Mktime > does appear to know all about leap seconds (assuming they're in zoneinfo.) The GPL goes to great trouble to ensure you get the kernel source code. Why not use it. > showing "#15 0xffffffff8104ec16 in ntp_leap_second (timer= optimized out>) at kernel/time/ntp.c:143". That would be kernel code to > process leap seconds from NTP broadcasts, I think. That code needs to > be removed. I suggest you read that code and understand it. -- 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/