From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752531AbdATOoc (ORCPT ); Fri, 20 Jan 2017 09:44:32 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:60901 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751962AbdATOoa (ORCPT ); Fri, 20 Jan 2017 09:44:30 -0500 Date: Fri, 20 Jan 2017 14:28:55 +0100 (CET) From: Thomas Gleixner To: David Carrillo-Cisneros cc: Vikas Shivappa , Vikas Shivappa , Stephane Eranian , linux-kernel , x86 , hpa@zytor.com, Ingo Molnar , Peter Zijlstra , "Shankar, Ravi V" , "Luck, Tony" , Fenghua Yu , andi.kleen@intel.com, "H. Peter Anvin" Subject: Re: [PATCH 00/12] Cqm2: Intel Cache quality monitoring fixes In-Reply-To: Message-ID: References: <1484879563-29977-1-git-send-email-vikas.shivappa@linux.intel.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 19 Jan 2017, David Carrillo-Cisneros wrote: > > If resctrl groups could lift the restriction of one resctl per CLOSID, > then the user can create many resctrl in the way perf cgroups are > created now. The advantage is that there wont be cgroup hierarchy! > making things much simpler. Also no need to optimize perf event > context switch to make llc_occupancy work. So if I understand you correctly, then you want a mechanism to have groups of entities (tasks, cpus) and associate them to a particular resource control group. So they share the CLOSID of the control group and each entity group can have its own RMID. Now you want to be able to move the entity groups around between control groups without losing the RMID associated to the entity group. So the whole picture would look like this: rdt -> CTRLGRP -> CLOSID mon -> MONGRP -> RMID And you want to move MONGRP from one CTRLGRP to another. Can you please write up in a abstract way what the design requirements are that you need. So far we are talking about implementation details and unspecfied wishlists, but what we really need is an abstract requirement. Thanks, tglx