Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754727AbcKJIeL (ORCPT ); Thu, 10 Nov 2016 03:34:11 -0500 Received: from bombadil.infradead.org ([198.137.202.9]:39514 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753743AbcKJIeK (ORCPT ); Thu, 10 Nov 2016 03:34:10 -0500 Date: Thu, 10 Nov 2016 09:33:55 +0100 From: Peter Zijlstra To: kan.liang@intel.com Cc: mingo@redhat.com, linux-kernel@vger.kernel.org, acme@kernel.org, tglx@linutronix.de, alexander.shishkin@linux.intel.com, vince@deater.net, eranian@google.com, andi@firstfloor.org, Mark Rutland Subject: Re: [PATCH] perf/core: introduce context per CPU event list Message-ID: <20161110083355.GO3568@worktop.programming.kicks-ass.net> References: <1478718286-12824-1-git-send-email-kan.liang@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1478718286-12824-1-git-send-email-kan.liang@intel.com> User-Agent: Mutt/1.5.22.1 (2013-10-16) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 236 Lines: 8 Yes this is a problem, but no this cannot be done. We can't have per-cpu storage per task. That rapidly explodes. Mark is looking at replacing this stuff with an rb-tree for big-little, that would also allow improving this I think.