From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752889AbbKPVWg (ORCPT ); Mon, 16 Nov 2015 16:22:36 -0500 Received: from mx1.redhat.com ([209.132.183.28]:43920 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752553AbbKPVW0 (ORCPT ); Mon, 16 Nov 2015 16:22:26 -0500 Date: Mon, 16 Nov 2015 19:22:01 -0200 From: Marcelo Tosatti To: Peter Zijlstra Cc: Luiz Capitulino , Thomas Gleixner , Vikas Shivappa , Tejun Heo , Yu Fenghua , linux-kernel@vger.kernel.org Subject: Re: [PATCH RFC] ioctl based CAT interface Message-ID: <20151116212200.GA5186@amt.cnet> References: <20151113163933.GA10222@amt.cnet> <20151113165100.GI17308@twins.programming.kicks-ass.net> <20151113172740.GA13490@amt.cnet> <20151113174300.GA14726@amt.cnet> <20151116085926.GK17308@twins.programming.kicks-ass.net> <20151116130357.GA25951@amt.cnet> <20151116150133.GU17308@twins.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151116150133.GU17308@twins.programming.kicks-ass.net> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 16, 2015 at 04:01:33PM +0100, Peter Zijlstra wrote: > On Mon, Nov 16, 2015 at 11:03:57AM -0200, Marcelo Tosatti wrote: > > cgroup CAT interface (non hierarchical): > > That's a fail right there. Cgroup thingies must be hierarchical. What is the problem with ioctls again? (haven't seen any technical argument). If the ioctls were replaced by say, syscalls you would be happy? If the ioctls were replaced by attach/detach/delete/unassign commands via directories, would you be happy?