Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp5453813imm; Tue, 19 Jun 2018 10:35:12 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIRTbR9KdHhpmh5K8G90rDBspZBwL5/Q1mtjZ2EVzwIWUuiLPYYTk4tJlJOCbl04s3+Cz1w X-Received: by 2002:a17:902:600a:: with SMTP id r10-v6mr20125019plj.70.1529429712521; Tue, 19 Jun 2018 10:35:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529429712; cv=none; d=google.com; s=arc-20160816; b=DuZjwZk3D8lWRLf2BhXBDDV7Vg9O2FRs1bfx/14f8evT0zHy5tSptgglDQTmquCLe3 9xbTnZMuWR6aKHcBx12izPzFIU2DgsWCfPZbfiM5cWsQGzB81tvRz86KY4sxuFsGtgD9 sf7JMg0NZUkJRbPK90igzh5GD2/a3DJaBV8LkPj4gZf5wYo5uZ0lB47bfv2Kxf+qSAFD /R608ovOqladT79ZTPK0B4ONQEL+ejjeHCBr6AwI6lfiSquawwAWgkA5/QgT+qO1gfMa qIGLjpc7+VGLR1GlgxEXTgu1gj8fzx79VPZF+yhRVah7JsrwP38Jwj71lbhRLku8H0ay Ywuw== 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 :arc-authentication-results; bh=VzN2NRRLEMf9eTD+sMTTJnfsLbWVNOwh0WNxc05S50o=; b=M+fSchz3MW8I1DB3BysChYgszIA1eCwD7msJV70Oj8rYMUm0oNmKxPy/g+NSDX+DH3 24slHaSg7Uym3oiy+hN2lh/aWqFWdI+kXNG5QldUCZrDjzpG9Wpvd0Po2L1ObKd82Qm+ 9CFZxHve3KE6Y3HwY7cPkNhHpHYml6WAV8r9lBx2CoeeVGhzoD1qyel9vzck+7+rivSf kXRszWEhDPIyQw9wOX3eLPrZ+PLsc8OEzTi5KCzcJjkmofE+QxKTeNvqp46WQ4m2Fv2o wxDrwh8YJDeFbT08PK/Gd2PdTmqR+UIY98XpJ2W9Vo+QyFCvRgRaHI/DcwFxGeyG+bEw 7nYQ== 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 b9-v6si242756plk.111.2018.06.19.10.34.58; Tue, 19 Jun 2018 10:35:12 -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 S1030242AbeFSRdM (ORCPT + 99 others); Tue, 19 Jun 2018 13:33:12 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:57792 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966368AbeFSRdL (ORCPT ); Tue, 19 Jun 2018 13:33:11 -0400 Received: from p4fea482e.dip0.t-ipconnect.de ([79.234.72.46] helo=nanos.glx-home) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fVKUr-0001Lu-QF; Tue, 19 Jun 2018 19:32:49 +0200 Date: Tue, 19 Jun 2018 19:32:49 +0200 (CEST) From: Thomas Gleixner To: Pavel Tatashin cc: steven.sistare@oracle.com, daniel.m.jordan@oracle.com, linux@armlinux.org.uk, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, john.stultz@linaro.org, sboyd@codeaurora.org, x86@kernel.org, linux-kernel@vger.kernel.org, mingo@redhat.com, hpa@zytor.com, douly.fnst@cn.fujitsu.com, peterz@infradead.org, prarit@redhat.com, feng.tang@intel.com, pmladek@suse.com, gnomes@lxorguk.ukuu.org.uk Subject: Re: [PATCH v10 1/7] x86/tsc: remove tsc_disabled flag In-Reply-To: <20180615174204.30581-2-pasha.tatashin@oracle.com> Message-ID: References: <20180615174204.30581-1-pasha.tatashin@oracle.com> <20180615174204.30581-2-pasha.tatashin@oracle.com> 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 Fri, 15 Jun 2018, Pavel Tatashin wrote: > tsc_disabled is set when notsc is passed as kernel parameter. The reason we > have notsc is to avoid timing problems on multi-socket systems. We already > have a mechanism, however, to detect and resolve these issues by invoking > tsc unstable path. Thus, make notsc to behave the same as tsc=unstable. notsc also excludes TSC from being used at all, while with your change its suddenly used in sched_clock(). I'm not opposed to that change but the changelog is completely misleading as it suggest that this is a change which has no functional impact. Thanks, tglx