Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754822AbbKMTI4 (ORCPT ); Fri, 13 Nov 2015 14:08:56 -0500 Received: from mx1.redhat.com ([209.132.183.28]:51911 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751376AbbKMTIz (ORCPT ); Fri, 13 Nov 2015 14:08:55 -0500 Date: Fri, 13 Nov 2015 14:08:53 -0500 From: Luiz Capitulino To: Marcelo Tosatti Cc: Peter Zijlstra , Thomas Gleixner , Vikas Shivappa , Tejun Heo , Yu Fenghua , linux-kernel@vger.kernel.org Subject: Re: [PATCH RFC] ioctl based CAT interface Message-ID: <20151113140853.79c2a539@redhat.com> In-Reply-To: <20151113163933.GA10222@amt.cnet> References: <20151113163933.GA10222@amt.cnet> Organization: Red Hat MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 970 Lines: 35 On Fri, 13 Nov 2015 14:39:33 -0200 Marcelo Tosatti wrote: > Attached is an early version of the ioctl based CAT interface we > have been working on. We're also writing a user-space app that can manage reservations from user-space. It's integrated with util-linux. I'll setup a repo shortly to share the source code, but here are some examples: Create a global 2MB reservation: # cacheset --create 2M Create a 2MB reservation on CPUs 0 and 1: # cacheset --create 2M --cpu-list 0,1 # cacheset --create 2M 0x3 Attach pid 4901 to reservation ID 1 # cacheset --attach 4901 1 Detach pid 4901 to reservation ID 1 # cacheset --detach 4901 1 Delete reservation ID 1 # cacheset --delete 1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/