Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp3823921imc; Thu, 14 Mar 2019 06:13:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqwUYXV3Oe+QUzdDEyJWFT64/WD2Ss/W2ISBolxC78WuEZwM5b51QmVKk7ya3Is4Mm0HhQNy X-Received: by 2002:a17:902:6f08:: with SMTP id w8mr51650440plk.5.1552569218254; Thu, 14 Mar 2019 06:13:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552569218; cv=none; d=google.com; s=arc-20160816; b=mwwaEqMpZbNdqajfVhGIztAZwrBxivQ4UCA1kj/EREVWmwH/su+EYdovh+csIVD4+M WiaTnypGxvhP56Oc+DmHR8Bg7Zd+JYM1jfMC0fKy8RMPqH3eaNLPFQfEz4f/ZxFyDkdC iScRAw82hCEF5RX3ZxjfZ9KZnJx+ljIIxPZdNM52Zqk486CeE59vTOcLutst17XTpUpg 0itHcmeUBzDAfuH4bs1Vx4+l/DpNtKoOOED6EBNTtZorRqwXkoBHU7VpDYSpXX6flGdV rdb0pb3KAUNvH3VSCk+NzmSb8QvBC/Bpnh5UZCubz/9A6oaGuUrLUtbyqcdwrBWHDkVd 0Gkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:cc:to:from:date:user-agent :message-id:dkim-signature; bh=9f/pgQGctrdMBPyGDyZtlVIJ3A2Peo64BoIKAMPc8Mc=; b=RarPdWoEqkLMV8tW+NOc3RoW2fgPhZwBLf4xK94/6PVmD1el0fDnZ7EHHuZhvGV9bc DcEPg9nCm6bJmc1VWx/Y4V8ufC8rFt1onmP00wCyLbiQAIoYfFFrI8p73bASFOyWbzzd z5wp86d5y55VinksrKvFflv7j9juYnDrM9y0ZhWv+VVLlT+Rj4D3MxyT+UAv0AoD7w3K 4cLY3BShm3HzsggPSrlq6/dv6C+aJvVm2oGxKubN+yoiHv7pRYgqy2QTclceh6UgMOGn yhVyfFfdZ7Sa7a7jPYwxXftgFvi2YPsch0DnmdonDaOQLCS7pW7ehJ03tIu5npyzx9gL 6GCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=MCAfOpI4; 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 42si8589876plf.293.2019.03.14.06.13.22; Thu, 14 Mar 2019 06:13:38 -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; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=MCAfOpI4; 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 S1727634AbfCNNMG (ORCPT + 99 others); Thu, 14 Mar 2019 09:12:06 -0400 Received: from merlin.infradead.org ([205.233.59.134]:59858 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727461AbfCNNLn (ORCPT ); Thu, 14 Mar 2019 09:11:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Subject:Cc:To:From:Date:Message-Id: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=9f/pgQGctrdMBPyGDyZtlVIJ3A2Peo64BoIKAMPc8Mc=; b=MCAfOpI4cWl9iA7x4b2wLzBaj 9T/D2zpRgCjRRIMxUKdMW+uV6tOwfEvJJADi4pcGKq4lovTFfRQOc9IkmRYMoN9zBFYE69Me0KV3P TzvFjcceztqyDz6mnAB9v/oxjIJqdOjLjHTdw9CX6TMlx+fzOaGbuSQQWc2hFxkB+BmAQD00wWqUT x7WYIhdFkZSeLLGJbLt4L2pEcNzwMP8y5u23HnWGvwonG3J81nxKsDmpXaT9pNixYxuI6NGZlHTzj Es9uaGV2cVo5j4CoYPNaNPbo9qNthbWVJd4JuWDmdFDdyjS3CjXSWDTHVbyxtpZ+E+uKu21smAnt5 4qDhfxSrA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1h4Q8u-0005RI-KX; Thu, 14 Mar 2019 13:11:28 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 0) id 401F62028B0E1; Thu, 14 Mar 2019 14:11:27 +0100 (CET) Message-Id: <20190314130113.919278615@infradead.org> User-Agent: quilt/0.65 Date: Thu, 14 Mar 2019 14:01:13 +0100 From: Peter Zijlstra To: mingo@kernel.org, eranian@google.com, jolsa@redhat.com Cc: linux-kernel@vger.kernel.org, tonyj@suse.com, nelson.dsouza@intel.com, peterz@infradead.org Subject: [RFC][PATCH 0/8] perf/x86: event scheduling cleanups Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These here patches are the result of chasing a bug in the TSX Force Abort patches. The first patch is simple and fixes the issue and should be marked /urgent and backported. The rest is the result of having a hard look at how all that event scheduling stuff worked while trying to figure out wth was going wrong. Stephane, since you were involved with writing much of that code, can you please have a good look? I _think_ I got it, but... :-)