Re: [PATCH 2/5] x86/intel_rdt: Improvements to parsing schemata
From: Thomas Gleixner
Date: Fri Mar 10 2017 - 05:55:46 EST
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 when we enforce the order .. (because
> right now resources are always displayed in a predefined order).
> Otherwise i can drop this patch.
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. IMO it's sufficient to write a single resource line and not
require to update all resources every time.
Thanks,
tglx