Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2227421ybd; Mon, 24 Jun 2019 02:55:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqxPqI7nPpqMhYtVHHA7VMkauhaYY4pfitCbZWQptx+2jIndwqpIdEjWLs4uKLQUzScaCtcf X-Received: by 2002:a17:902:246:: with SMTP id 64mr74863769plc.311.1561370158155; Mon, 24 Jun 2019 02:55:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561370158; cv=none; d=google.com; s=arc-20160816; b=vYEJRah/tZyrOs8J2et06UxxLEPFwEXY+Qec3jnG1Z37wsow9z0VcPdLsswWvilCzQ 54UqyAdGd4GVON1tSQMADNrtLVQPGe6zy+WGD9hPFcgNFHT5Howmn/7sbPcS96Bqi7n9 kWTB9H2neCyjcB/+hKOZyKY/U3Iif8vgxxPGFRAoW1XUrwNJL/MjpiA/0b2iHExhwDjn fp+dD1UdgvttQ0sPGNKeL1Rtxkn0uLaTk1D2r7iduHojnBjJT4bocpHAG8mZVBFvs8CX 59nz3cuJZlOWMy0e94oD3FK73DbLALj6bcv9HKLQrT8P7sZiFW9eEM4nvloV6L8VIJS+ vXjQ== 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=L9GMtfWAMZUv0pDINTg1AjXyJ0aPvExrphK8/RR1a38=; b=RHoc28NsXho/5kWGfR+ALQT1sQ/GYrHgD2pQ9JPtYl8TB6MxNPri8XKnxk0ym43jUM 0cxtHYALQeZBV+CtgPXbNMneEHzFPIwV8t1xgi37pambDcobNLTxq4HVHkrzPzDHCNqu whpnJspEK3cbh+CS5y4RewpuBqgaQxPzJvKtTKWk75ZycFt/6c0pH4ikCxvvonFzHWYp BJDN+1pOzH0N0JA+Jpjct8EbPY/E/Ozc/16KoKvug3O7hgUeU9Xnf9rC7HS9RDot49wg M7/wR9lnMmXGnbe2cipqq4+LNHBOn3aOZr1bQVPEhC9vnfXJOm8D3sjBzaHzeODXmMOG 0Vrw== 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 f7si9706524pgr.536.2019.06.24.02.55.41; Mon, 24 Jun 2019 02:55:58 -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 S1728272AbfFXJkG (ORCPT + 99 others); Mon, 24 Jun 2019 05:40:06 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:35467 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725881AbfFXJkF (ORCPT ); Mon, 24 Jun 2019 05:40:05 -0400 Received: from p5b06daab.dip0.t-ipconnect.de ([91.6.218.171] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1hfLSF-0003z0-5T; Mon, 24 Jun 2019 11:40:03 +0200 Date: Mon, 24 Jun 2019 11:40:02 +0200 (CEST) From: Thomas Gleixner To: "Sverdlin, Alexander (Nokia - DE/Ulm)" cc: "x86@kernel.org" , "linux-kernel@vger.kernel.org" , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Jason Vas Dias , Andy Lutomirski Subject: Re: [PATCH v3 1/2] x86/vdso: Move mult and shift into struct vgtod_ts In-Reply-To: Message-ID: References: <20190605144116.28553-1-alexander.sverdlin@nokia.com> <20190605144116.28553-2-alexander.sverdlin@nokia.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 Alexander, On Mon, 24 Jun 2019, Sverdlin, Alexander (Nokia - DE/Ulm) wrote: > On 23/06/2019 12:18, Thomas Gleixner wrote: > > The alternative solution for this is what Vincenzo has in his unified VDSO > > patch series: > > > > https://lkml.kernel.org/r/20190621095252.32307-1-vincenzo.frascino@arm.com > > > > It leaves the data struct unmodified and has a separate array for the raw > > clock. That does not have the side effects at all. > > > > I'm in the process of merging that series and I actually adapted your > > scheme to the new unified infrastructure where it has exactly the same > > effects as with your original patches against the x86 version. > > please let me know if I need to rework [2/2] based on some not-yet-published > branch of yours. I've pushed it out now to git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers/vdso The generic VDSO library has the support for RAW already with that separate array. Testing would be welcomed! Feel free to experiment with moving mult/shift again. Maybe you find a way to mitigate the effects and make it all magically faster. :) Thanks, tglx