Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5396650imm; Tue, 18 Sep 2018 08:54:35 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYSfRr5WWXIgODNVeFqAZ653D0Rx8agFwe7/uLPjXOqjKm+I22nIMRx4AWFvSMYmH93QAWM X-Received: by 2002:a63:a919:: with SMTP id u25-v6mr26130888pge.211.1537286074957; Tue, 18 Sep 2018 08:54:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537286074; cv=none; d=google.com; s=arc-20160816; b=HTrCvU27CS7f2l5owpnAWOlU+lfW1vPCsaMCOe5/zSZ87TfjSd+YBQr1qcack3lu5C yg8EpXNzEcE3/b88KkVYunlRpLRBr1yEU3DxmFnzuTn0Q1t1YVtw2dQwNQ8ERJmgdnz+ sgCqZsA4DhKBcPXRlz34TcK1AeaZd2WIb4Bmi2boFlWEiU5zNG3DQE1WhDW5NVY1Vb4b /CwoQZwymfJHeMiAW/gTFMd862/cdrVyM938Jt2yt7VQd7QDrNk90MzSSRtEPzTaYJIQ joRuO9070xWcAZ2s7lcAvbdrzJ/IMS3f1J4oQuDH+71ecpwn5KBGrBju/DyVPqy43yES yfvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=k/d1H/2IwIpnNv3G9yp8XsswxUKoTp4F7RFzOa4NKeE=; b=qsFIZLLlVbMo5fbVNXDQw7/czJrNAAMpCFF6qLfguoY8Tt/+wv8J37GzjV8dTqNHcp 0j3dLvpjxDzjJBBAx8Sj98jGeFLIsAH2goaiM0H0yzDoQ7g836yu7w6ttF3i/D0ALMrG CxM12llWuUOuo0DXuJ7QCEDcY/mZPEh/XTFMNRcAC8bB0Q9RN+2USJUkSebl+Zt2wLan uZY32Af8NZKRVv9kvgxddMeThJ3XigFeNlD3bAP0zMXjkPWA4esI4vq6or6A5w2W8IOX FnnYyovmbxzQjrQ4Mi6ONgfVE7LdAA2LSEULiJ3MJCo3ZvTtZNbq+5MqkE7wH1moFCbw OUmw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m61-v6si18986455plb.296.2018.09.18.08.54.14; Tue, 18 Sep 2018 08:54:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730069AbeIRV0q (ORCPT + 99 others); Tue, 18 Sep 2018 17:26:46 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:58170 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729249AbeIRV0q (ORCPT ); Tue, 18 Sep 2018 17:26:46 -0400 Received: from hsi-kbw-5-158-153-55.hsi19.kabel-badenwuerttemberg.de ([5.158.153.55] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1g2IJd-0004xw-T9; Tue, 18 Sep 2018 17:53:30 +0200 Date: Tue, 18 Sep 2018 17:52:54 +0200 (CEST) From: Thomas Gleixner To: Peter Zijlstra cc: John Stultz , Andy Lutomirski , LKML , X86 ML , Matt Rickard , Stephen Boyd , Florian Weimer , "K. Y. Srinivasan" , Vitaly Kuznetsov , devel@linuxdriverproject.org, Linux Virtualization , Paolo Bonzini , Arnd Bergmann , Juergen Gross Subject: Re: [patch 09/11] x86/vdso: Simplify the invalid vclock case In-Reply-To: Message-ID: References: <20180914125006.349747096@linutronix.de> <20180914125118.909646643@linutronix.de> <20180918083055.GJ24106@hirez.programming.kicks-ass.net> <20180918124800.GL24106@hirez.programming.kicks-ass.net> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 18 Sep 2018, Thomas Gleixner wrote: > So if the TSC on CPU1 is slightly behind the TSC on CPU0 then now1 can be > smaller than cycle_last. The TSC sync stuff does not catch the small delta > for unknown raisins. I'll go and find that machine and test that again. Of course it does not trigger anymore. We accumulated code between the point in timekeeping_advance() where the TSC is read and the update of the VDSO data. I'll might have to get an 2.6ish kernel booted on that machine and try with that again. /me shudders Thanks, tglx