Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3704974pxk; Mon, 7 Sep 2020 23:24:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy52dgskzamqeOkJoKxRquNavNJTmiCzw7qYl/7KXY8zHI2mfqj2yxk5192TTTHixd/ukG1 X-Received: by 2002:a17:906:915:: with SMTP id i21mr6240084ejd.113.1599546292612; Mon, 07 Sep 2020 23:24:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599546292; cv=none; d=google.com; s=arc-20160816; b=r+ZEIHng1koTl6hXbtQcReNAJmOhe5qz9aqfmjN6kzRfy6oHwZ1K+tZuD7flHbM+Of AwZGcYkXpLzfRqPR817iAIN1GcQqMgeLdSLQcgZJxfWQH/agj2uew1xkCFkrKaWrCLHZ ThI4I1YqOUo3cXjTNmS4RA3dy3bY6zmPN4eWsTcVpdKI9ogyPlPZcTa+J2QMZ2AJ+bX4 6al8kQ1gGErVgVjwfW5qPWtTeLAbO3pUa2rxMsSiGnN7Mg+9ai4/oQxFuwaWrEfB3dv9 rv+RErKE6CxBZm8Oy1vJ37Dr7JqXtq1FwzJou6B3Ol2AjzvaBrBXuNhoM6mfOIrBIALb 06Vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from :dkim-signature:dkim-signature:date; bh=solYDsAWQ3Z2NouER2vl0Kq8nq+z9YdyDRNNdI9kFhc=; b=zbwHOtlrm7AXbj5UUsxJ2r+YYDO2aqQaiJSO48GyeOUzyyq9v+iKpxk3/oQYCN5Ryg KYJJEJhRc/he1b4SnENE+LSZl6GDQAlV+fMwUyLmcLatJhGInQtUTD7s6ctsRPihL3O6 WRqz6yBDDAxBxNclHejmjDDV2vkhuLd3zgNGR5btzDH6m6YohqMuE+MT9M9Ug6j4kVYP tRRTqgVrbRQ9dA3tlxYrVMKdPTvuFUT6xIFAGlYkGWiJKp/u1En5z2xN7fbBrC3lkjYQ Orq+dS4tHfH62AaJym5i+cpdClLXRwX9+6tjxRFGagw45ISg+yNCcGpEIhZ8NykLb4WF saNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=G5l2pmbY; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ds7si14453470ejc.511.2020.09.07.23.24.20; Mon, 07 Sep 2020 23:24:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=G5l2pmbY; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728886AbgIHGXG (ORCPT + 99 others); Tue, 8 Sep 2020 02:23:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728009AbgIHGXG (ORCPT ); Tue, 8 Sep 2020 02:23:06 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8A76C061573 for ; Mon, 7 Sep 2020 23:23:05 -0700 (PDT) Date: Tue, 8 Sep 2020 08:23:26 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1599546179; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=solYDsAWQ3Z2NouER2vl0Kq8nq+z9YdyDRNNdI9kFhc=; b=G5l2pmbYt4mwM11DUFABkUpW0KihCDaqLX1WJFEV3q1aAXF98B4CZL2n1vSYLaA/WjuuM1 xhkE1bM+Uy681+FUvs1cVcxw++vskj/5CLoFIRIpwFVUGkqddUe4vBxZ4G2KXGDrv0FhTP q7odUUZBpkzZpwIaUopa5xS74tiSkXMTO+E4iZEqF3Ag02TAxxkmIeWtlaK35YyrXM/JiQ Iux1OuN/7zIQU8TzCVAzL5uoiIKrB74zRh/2weOeaK6hzpPBU7Iawxi8So611ZWhdWonIp mdZnHZYajhaxVHWFm+8TOaLN9FmhMOJ1swibbPXUBVhGslDDIVApsNZWm4FP8g== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1599546179; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=solYDsAWQ3Z2NouER2vl0Kq8nq+z9YdyDRNNdI9kFhc=; b=jxsYNZSKR0Px4+LgGrAWos94dn/i8ogcGD5fv3yl0i0eRyDjj40K3r6PyUxjyCzkoLsWnP JbKGdGYKAYqId8Cw== From: "Ahmed S. Darwish" To: peterz@infradead.org Cc: Ingo Molnar , Will Deacon , Thomas Gleixner , "Sebastian A. Siewior" , LKML , Borislav Petkov , x86@kernel.org, "H. Peter Anvin" Subject: Re: [PATCH v1 6/8] x86/tsc: Use seqcount_latch_t Message-ID: <20200908062326.GA422817@lx-t490> References: <20200827114044.11173-1-a.darwish@linutronix.de> <20200827114044.11173-7-a.darwish@linutronix.de> <20200904074142.GL2674@hirez.programming.kicks-ass.net> <20200904080312.GZ35926@hirez.programming.kicks-ass.net> <20200907162913.GA178765@lx-t490> <20200907173047.GO1362448@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200907173047.GO1362448@hirez.programming.kicks-ass.net> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 07, 2020 at 07:30:47PM +0200, peterz@infradead.org wrote: ... > > Don't look at this function in isolation, look at native_sched_clock() > where it's used as a whole. > ... > What happened (afaict) is that the change caused it to use more > registers and ended up spiling crap on the stack. > ... > > Anyway, I frobbed the patch to use the this_cpu variant, and I've queued > the lot. Perfect. Thanks a lot ;-)