From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423267AbbFEONK (ORCPT ); Fri, 5 Jun 2015 10:13:10 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:34505 "EHLO mail-wi0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423244AbbFEONF (ORCPT ); Fri, 5 Jun 2015 10:13:05 -0400 Date: Fri, 5 Jun 2015 16:12:59 +0200 From: Richard Cochran To: Peter Zijlstra Cc: John Stultz , Ingo Molnar , lkml , Prarit Bhargava , Daniel Bristot de Oliveira , Jan Kara , Jiri Bohac , Thomas Gleixner , Ingo Molnar , Shuah Khan Subject: Re: [RFC][PATCH 4/4] time: Do leapsecond adjustment in gettime fastpaths Message-ID: <20150605141259.GA9406@localhost.localdomain> References: <1432931068-4980-5-git-send-email-john.stultz@linaro.org> <20150602090154.GA2590@gmail.com> <20150603090452.GA9490@gmail.com> <20150604064809.GA14685@gmail.com> <20150605072913.GD19282@twins.programming.kicks-ass.net> <20150605090433.GC1528@localhost.localdomain> <1433495408.1495.8.camel@twins> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1433495408.1495.8.camel@twins> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 05, 2015 at 11:10:08AM +0200, Peter Zijlstra wrote: > Firstly I would strongly suggest such applications not use UTC because > of this, I think TAI was invented for just this reason. So I wonder whether the bug in the original post affects TAI timers as well... > Secondly, how would John's patches help with this? Usespace loops > reading time would be using the VDSO and would still not get the right > time, and timers would be subject to the same IRQ latency that a hrtimer > based leap second insert would, and would still very much not be in-sync > across the cluster. But we have a tick based insertion. (IIRC, it used to be hrtimer based, but that was buggy, too). Thanks, Richard