From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753677AbcGLNEm (ORCPT ); Tue, 12 Jul 2016 09:04:42 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:54960 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750760AbcGLNEl (ORCPT ); Tue, 12 Jul 2016 09:04:41 -0400 Date: Tue, 12 Jul 2016 15:04:30 +0200 From: Peter Zijlstra To: Nikolay Borisov Cc: Aravinda Prasad , linux-kernel@vger.kernel.org, rostedt@goodmis.org, mingo@redhat.com, paulus@samba.org, acme@kernel.org, ebiederm@xmission.com, hbathini@linux.vnet.ibm.com, ananth@in.ibm.com Subject: Re: [RFC PATCH 2/2] perf: Filter events based on perf-namespace Message-ID: <20160712130430.GQ30909@twins.programming.kicks-ass.net> References: <20160614164530.4192.79560.stgit@aravindap> <20160614164951.4192.66724.stgit@aravindap> <20160627155002.GD30909@twins.programming.kicks-ass.net> <5784B7B9.5020901@linux.vnet.ibm.com> <20160712114734.GL30154@twins.programming.kicks-ass.net> <5784E586.5090904@kyup.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5784E586.5090904@kyup.com> User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 12, 2016 at 03:41:42PM +0300, Nikolay Borisov wrote: > Namespaces and cgroups are completely orthogonal to one another. Then how do you specify what your new 'root' is? Surely you must first create a cgroup and then confine yourself to that? > Also in the v1 of cgroups it's possible to have a process member of > more than 1 cgroup. Yeah, so? We only care about the perf controller obviously.