From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932706AbdCaIsE (ORCPT ); Fri, 31 Mar 2017 04:48:04 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:39901 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932554AbdCaIsC (ORCPT ); Fri, 31 Mar 2017 04:48:02 -0400 Date: Fri, 31 Mar 2017 10:47:52 +0200 (CEST) From: Thomas Gleixner To: Fenghua Yu cc: Jiri Olsa , Peter Zijlstra , Mike Galbraith , Shaohua Li , lkml , Ingo Molnar , Peter Zijlstra Subject: Re: [PATCH] x86/intel_rdt: Add cpus_list rdtgroup file In-Reply-To: <20170329160825.GA24537@linux.intel.com> Message-ID: References: <20170329150948.4981-1-jolsa@kernel.org> <20170329160825.GA24537@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 Wed, 29 Mar 2017, 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? Yes, because a lot of people including me do not care about these tools at all. Making it easy to read and write from the command line is the first thing to do. Thanks, tglx