Received: by 2002:ac0:a874:0:0:0:0:0 with SMTP id c49csp220327ima; Fri, 15 Mar 2019 01:02:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqym7YuYzxBJTf3KqCoeJWmU8lQHoek8hjR2GUTJxOJ6K7tpI8e26El84OBu50quAwhkIVIN X-Received: by 2002:a17:902:9b86:: with SMTP id y6mr2731270plp.71.1552636936392; Fri, 15 Mar 2019 01:02:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552636936; cv=none; d=google.com; s=arc-20160816; b=1CNdMUfg3Dx7EbSu1y+XWV7rimcYkb/NU2zQuMjqZtIxVHCovaU3KPkEF0R3zmd7Ra Zm9Tp8DNYLntbOrgU6K0DVl1iezhkvydHXSn6lo12bBwN3HYf4YyeFBA3mUvQ8Mz2hsg fDoO0Cw5WO4uSKQz7tbiKEnZP1W1jLJ9C/7vSUMQ1Ytq8gKZ3PeOMFOB1TtrY1cQnmKb Sa+9oV0cRzpAfPrNnIx6VL5ANIhLV/zteXEEmiwWYWOT5OYfJZf0k9IK3dRLRd0+CfZv vRniBLVZUikK+6FXeNmWG1u0wXdIyk1EEFMrsXdQJCUSOBq4gEA2e5063wNUIm9KU+ED C6Tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=sOd1YPPJQcxyiI72hmu+RbcgIfVsjyy4EFW10+SkYSA=; b=QhOfUYyeA2F6DbRU5QQRI3olIfclvvzznTxm4lRD/VWAWq0WE+OVmzHjXl4IqgztzG njsJyyfHs4tJLKAuj0OWW71/EG4oXdSA6o6XxDUhQi31p6DNCDQHlFez2w5AydmusoLl oPakO/Eyuf5FKFxjXVUQxaqJrkcljDGIAp6dQOIxgdu3fMpBbgzgnnRexVpYfK/JGqKo LUuzR5SG5CUN6oVkHe/RAnkdEMCfuqb9a6eKUlNVNQwTroQardHFUnJpd7GroxoNriR0 D0E7/VKjesLRNqcByCArp0YV8VKgFVrinjRidJkwCMZ2dI6XGnHjokNMEMvumCn+68om snPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b="bddu/U8W"; 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 z3si1325240pgr.90.2019.03.15.01.02.00; Fri, 15 Mar 2019 01:02:16 -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="bddu/U8W"; 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 S1728486AbfCOIBZ (ORCPT + 99 others); Fri, 15 Mar 2019 04:01:25 -0400 Received: from merlin.infradead.org ([205.233.59.134]:38166 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728428AbfCOIBY (ORCPT ); Fri, 15 Mar 2019 04:01:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=sOd1YPPJQcxyiI72hmu+RbcgIfVsjyy4EFW10+SkYSA=; b=bddu/U8Wr0rdAPVNr4IT3eK81 1gPfx229RiXe93Xkg9tgOdOl3Yo09dMCrHi2F/IV+vR+XhMF4UPPhZfiAENdswEsKCzTFPlleYLX7 uDug1Qf2dX8vH7aQKBVgiwhrGOPDq8naeiO53WBopaWc6L1MGvPp/r2vwtnQQRA75YhQImMj3sy26 3k3dwWN+cqwayfZbOSzH5HGpIt+ERwp5nVfo0ffbzUTJfV+z9nuiOCdxMeWLtWKiHKWs4a0mglIVl XY+c6AORs01s3Rp2dk3CiRJ9xSHg1iLN3GlNDJH16H6FwrwKi1K03mf/5WWlKxX8qfjw9hpiX5vFZ 4X6Qpag+g==; 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 1h4hmB-00049x-QD; Fri, 15 Mar 2019 08:01:12 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 6D48221419E59; Fri, 15 Mar 2019 09:01:09 +0100 (CET) Date: Fri, 15 Mar 2019 09:01:09 +0100 From: Peter Zijlstra To: Stephane Eranian Cc: Ingo Molnar , Jiri Olsa , LKML , tonyj@suse.com, nelson.dsouza@intel.com Subject: Re: [RFC][PATCH 0/8] perf/x86: event scheduling cleanups Message-ID: <20190315080109.GQ5996@hirez.programming.kicks-ass.net> References: <20190314130113.919278615@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 15, 2019 at 12:15:55AM -0700, Stephane Eranian wrote: > On Fri, Mar 15, 2019 at 12:15 AM Stephane Eranian wrote: > > > > On Thu, Mar 14, 2019 at 6:11 AM Peter Zijlstra wrote: > > > > > > 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... :-) > > > > > Will do today. > > But you did not send me PATCH 1/8 apparently. > > Correction : I got it. Mail client had just moved it somewhere else! Also please look at all 8, I'm reasonably sure 1/8 is correct, but it is rather more ugly than I'd wish. So the remaining 7 clean it all up (and effectively revert 1 again) but are much more invasive.