Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3663695imm; Mon, 15 Oct 2018 01:54:02 -0700 (PDT) X-Google-Smtp-Source: ACcGV60dF+/o4iJsywPQW457H4A9rwJmpNofIkvoQstOX2xm4n7W3FHdA//gkRwb04WXjQCr/rL8 X-Received: by 2002:a17:902:7897:: with SMTP id q23-v6mr16487461pll.54.1539593642305; Mon, 15 Oct 2018 01:54:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539593642; cv=none; d=google.com; s=arc-20160816; b=RR4RyRDPVB+RFmpXTCkHwRZrG4b56Gfh2p4pYRaJBilXg9P+YWfikNifLOH7DHkH0U AoNKhN/+x1IZZ8K37y84PXEz59jKQYnA98ZO2AL7HEEv2f34ZM7FAo46POfsWWJDUvGK 5okPpxTXx/8TcrWFzdAsQKeCsa4ATLkuebP7LrORUTxVdZaz7VJMJ5qAiZr7AuurNbk8 aSuMtOAsYCpCzHbbLYdaFhg3L/L0FhnrOK8gjBsl+9C/+o771aQjyNOmg2wU5kkxO4oL kMPv6l2yQPZT+PR8XxnuclcuQdhcSlw6NHe7tWaTnqepkd88L7R4MUw5DXipBh/cMSEl tawA== 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=fsjYFasDVVKHJhcEP4q1Yb06CfX0mPf4bxanSXAOm9M=; b=Op1GItO1dMXmyShFfbZ0UOw+0fX6att1zYey1tyZD9ZKBYulIO8D7g7E0HpuCbO0Ms rSvNtJZhrJSQdual3jlMQrGWgRKSgfkSFZZbxcUwExfvI23MqG8On4CvqzS+w4ipehvA 84NfxV2DcAPOENHi5rAd1SqNPnz2Tp7ecuesAjc/pLVdTRAp2tg8kHclqueYgOQZNXnY BbwWVa1fkXKlL7idUWimPC0mGj9/Luia0/kyVGEO/gQ8oobo5i1D9u/PbdtRbDD6YSKC Z7GOlGBvM3WESC1VKjbzp1Nw+dDimqj9YDkTrymVnzhFKOaVdPmSS4Rc23l9mH+VqBE6 Tnwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=l2ay0zny; 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 e32-v6si9707895plb.309.2018.10.15.01.53.47; Mon, 15 Oct 2018 01:54:02 -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=bombadil.20170209 header.b=l2ay0zny; 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 S1726560AbeJOQho (ORCPT + 99 others); Mon, 15 Oct 2018 12:37:44 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:60480 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726273AbeJOQhn (ORCPT ); Mon, 15 Oct 2018 12:37:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.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=fsjYFasDVVKHJhcEP4q1Yb06CfX0mPf4bxanSXAOm9M=; b=l2ay0znyoQZRNpGnCy81MK2UQ V+YuZHvFBAF56/Z3IeNJMhut/KYJz9qhvyiFU1n/Rv4ZQvmQOHCa6QbSvSVG38ZKA9NDKBWnE4aGT BEFNTrUtMnraIYokM9I+DB/0jCeJAhgMphprJPMQBSDzaBcXduGyaDfqNKooSR7LkiBmOUyRUokeD VKMEQRhcQ/g1cHius7RdeXYKePqZ+xYE4je8dptrOq3HhC0u7kvoxyWQ+eEAPpJGWBqehWVpSg8Om 6zlYyhCw4GjrwH/By0Q8Tn/fgAEXwdoUA9+lkQqrVpqShU8hh7EFRbhbMkzsHg6XAZ4wiugemHP8J X7iyU8p3w==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1gBycc-0005Z7-Jp; Mon, 15 Oct 2018 08:53:06 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id E00AC20158F7C; Mon, 15 Oct 2018 10:53:04 +0200 (CEST) Date: Mon, 15 Oct 2018 10:53:04 +0200 From: Peter Zijlstra To: Alexey Budankov Cc: mingo@kernel.org, linux-kernel@vger.kernel.org, acme@kernel.org, alexander.shishkin@linux.intel.com, jolsa@redhat.com, songliubraving@fb.com, eranian@google.com, tglx@linutronix.de, mark.rutland@arm.com, megha.dey@intel.com, frederic@kernel.org Subject: Re: [RFC][PATCH] perf: Rewrite core context handling Message-ID: <20181015085304.GE9885@hirez.programming.kicks-ass.net> References: <20181010104559.GO5728@hirez.programming.kicks-ass.net> <3a738a08-2295-a4e9-dce7-a3e2b2ad794e@linux.intel.com> <20181015083448.GN9867@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181015083448.GN9867@hirez.programming.kicks-ass.net> 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 Mon, Oct 15, 2018 at 10:34:48AM +0200, Peter Zijlstra wrote: > On Mon, Oct 15, 2018 at 10:26:06AM +0300, Alexey Budankov wrote: > > Rewrite is impressive however it doesn't result in code base reduction as it is. > > Yeah.. that seems to be nature of these things .. Note that some things did get simpler; the whole move_group case in the syscall simplified, as well as the whole online state tracking (which isn't completed). But yes, overall complexity did increase by the additional data structures and their relations.