Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755501AbdCXXQ5 (ORCPT ); Fri, 24 Mar 2017 19:16:57 -0400 Received: from mga02.intel.com ([134.134.136.20]:61548 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751801AbdCXXQu (ORCPT ); Fri, 24 Mar 2017 19:16:50 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,216,1486454400"; d="scan'208";a="838282506" Date: Fri, 24 Mar 2017 16:18:56 -0700 From: Fenghua Yu To: "Luck, Tony" Cc: Thomas Gleixner , Vikas Shivappa , Fenghua Yu , x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] x86/intel_rdt: Implement "update" mode when writing schemata file Message-ID: <20170324231855.GA40624@linux.intel.com> References: <1490377918-30686-1-git-send-email-tony.luck@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1490377918-30686-1-git-send-email-tony.luck@intel.com> 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 Content-Length: 814 Lines: 22 On Fri, Mar 24, 2017 at 10:51:58AM -0700, Luck, Tony wrote: > From: Tony Luck > > The schemata file can have multiple lines and it is cumbersome to > update from shell scripts. "from shell scripts" makes people a bit confused. Not just shell scripts, C or Java code also can be cumbersome to update the file, right? > +Reading/writing the schemata file > +--------------------------------- > +Reading the schemata file will show the state of all resources > +on all domains. When writing you only need to specify those values > +which you wish to change. E.g. User can still write all values including not changed and change just like 4.10 does. We may say "When writing you can either write all values or only need to specify those values which you wish to change."? Thanks. -Fenghua