Re: [PATCH 2/5] x86/intel_rdt: Improvements to parsing schemata

2017-03-10 Thread Thomas Gleixner
On Fri, 10 Mar 2017, Luck, Tony wrote: > On Fri, Mar 10, 2017 at 07:58:51PM +0100, Thomas Gleixner wrote: > > Well, we have several options to tackle this: > > > > 1) Have schemata files for each resource > > > >schemata_l2, _l3 _mb > > > > 2) Request a full overwrite every time (all entries

Re: [PATCH 2/5] x86/intel_rdt: Improvements to parsing schemata

2017-03-10 Thread Luck, Tony
On Fri, Mar 10, 2017 at 07:58:51PM +0100, Thomas Gleixner wrote: > Well, we have several options to tackle this: > > 1) Have schemata files for each resource > >schemata_l2, _l3 _mb > > 2) Request a full overwrite every time (all entries required) > >That still does not require ordering

Re: [PATCH 2/5] x86/intel_rdt: Improvements to parsing schemata

2017-03-10 Thread Thomas Gleixner
On Fri, 10 Mar 2017, Shivappa Vikas wrote: > On Fri, 10 Mar 2017, Thomas Gleixner wrote: > > It's fine to display them in a defined order, but there is no point to > > enforce the ordering on write. > > > > The real question here is whether we really have to write every line on > > every update. I

Re: [PATCH 2/5] x86/intel_rdt: Improvements to parsing schemata

2017-03-10 Thread Shivappa Vikas
On Fri, 10 Mar 2017, Thomas Gleixner wrote: On Thu, 9 Mar 2017, Shivappa Vikas wrote: Anyway, first of all we want to know WHY this ordering is required. If it's not required then why would we enforce it? Do the users want to see the data in the same order they entered ? If we want to do

Re: [PATCH 2/5] x86/intel_rdt: Improvements to parsing schemata

2017-03-10 Thread Thomas Gleixner
On Thu, 9 Mar 2017, Shivappa Vikas wrote: > > > Anyway, first of all we want to know WHY this ordering is required. If it's > > not required then why would we enforce it? > > Do the users want to see the data in the same order they entered ? If we want > to do that then its easy to implement whe

Re: [PATCH 2/5] x86/intel_rdt: Improvements to parsing schemata

2017-03-09 Thread Shivappa Vikas
Anyway, first of all we want to know WHY this ordering is required. If it's not required then why would we enforce it? Do the users want to see the data in the same order they entered ? If we want to do that then its easy to implement when we enforce the order .. (because right now resources

Re: [PATCH 2/5] x86/intel_rdt: Improvements to parsing schemata

2017-03-01 Thread Thomas Gleixner
On Fri, 17 Feb 2017, Vikas Shivappa wrote: > The schemata file requires all RDT (Resource director technology) > resources be entered in the same order they are shown in the root > schemata file. > Hence remove the looping through all resources while parsing each > schemata and get the next enable

[PATCH 2/5] x86/intel_rdt: Improvements to parsing schemata

2017-02-17 Thread Vikas Shivappa
The schemata file requires all RDT (Resource director technology) resources be entered in the same order they are shown in the root schemata file. Hence remove the looping through all resources while parsing each schemata and get the next enabled resource after processing a resource. Signed-off-by