From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751058AbdDAB6v (ORCPT ); Fri, 31 Mar 2017 21:58:51 -0400 Received: from mga05.intel.com ([192.55.52.43]:45532 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750903AbdDAB6u (ORCPT ); Fri, 31 Mar 2017 21:58:50 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,255,1486454400"; d="scan'208";a="81600231" Date: Fri, 31 Mar 2017 19:00:49 -0700 From: Fenghua Yu To: Jiri Olsa Cc: Fenghua Yu , Jiri Olsa , Peter Zijlstra , Mike Galbraith , Shaohua Li , lkml , Ingo Molnar , Peter Zijlstra , Thomas Gleixner Subject: Re: [PATCH] x86/intel_rdt: Add cpus_list rdtgroup file Message-ID: <20170401020048.GF24537@linux.intel.com> References: <20170329150948.4981-1-jolsa@kernel.org> <20170329160825.GA24537@linux.intel.com> <20170329161600.GA2506@krava> <20170330145947.GA13846@krava> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170330145947.GA13846@krava> 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 Thu, Mar 30, 2017 at 04:59:47PM +0200, Jiri Olsa wrote: > On Wed, Mar 29, 2017 at 06:16:00PM +0200, Jiri Olsa wrote: > > On Wed, Mar 29, 2017 at 09:08:26AM -0700, Fenghua Yu wrote: > > > On Wed, Mar 29, 2017 at 05:09:48PM +0200, Jiri Olsa wrote: > > > > While playing with the resctrl interface I found it much > > > > easier to deal with cpumask list rather than just regular > > > > cpumask. > > > > > > Could you please explain specifically why and when it's easier > > > to deal with cpumask list? In programming cases, cpumask > > > and cpumask list are almost same. And people are working > > > on higher level tools to control resctrl. The tools can > > > hide detailed regular cpumask or cpumask list and user > > > doesn't need to care lower level format of cpumask. So > > > is it really useful to add cpus_list? > > > > > > well I'm not aware about any such tool so I used resctrl > > interface directly, and in that case it was much simpler > > is there any tool available for this actualy? Here is a tool created by Marcelo: https://lwn.net/Articles/710514/ Thanks. -Fenghua