Re: [PATCH v5 13/18] x86/intel_rdt: Add mkdir to resctrl file system

2016-10-28 Thread Thomas Gleixner
On Fri, 28 Oct 2016, Fenghua Yu wrote: > On Wed, Oct 26, 2016 at 05:01:32PM +0200, Thomas Gleixner wrote: > > Handles all cases without 'CDP is special' and whatever nonsense intel will > > come up with in future. All you need to do is to add that force_min_closid > > field into the resource

Re: [PATCH v5 13/18] x86/intel_rdt: Add mkdir to resctrl file system

2016-10-28 Thread Thomas Gleixner
On Fri, 28 Oct 2016, Fenghua Yu wrote: > On Wed, Oct 26, 2016 at 05:01:32PM +0200, Thomas Gleixner wrote: > > Handles all cases without 'CDP is special' and whatever nonsense intel will > > come up with in future. All you need to do is to add that force_min_closid > > field into the resource

Re: [PATCH v5 13/18] x86/intel_rdt: Add mkdir to resctrl file system

2016-10-28 Thread Fenghua Yu
On Wed, Oct 26, 2016 at 05:01:32PM +0200, Thomas Gleixner wrote: > On Sat, 22 Oct 2016, Fenghua Yu wrote: > > +/* > > + * Trivial allocator for CLOSIDs. Since h/w only supports a small number, > > + * we can keep a bitmap of free CLOSIDs in a single integer. > > + * > > + * Using a global CLOSID

Re: [PATCH v5 13/18] x86/intel_rdt: Add mkdir to resctrl file system

2016-10-28 Thread Fenghua Yu
On Wed, Oct 26, 2016 at 05:01:32PM +0200, Thomas Gleixner wrote: > On Sat, 22 Oct 2016, Fenghua Yu wrote: > > +/* > > + * Trivial allocator for CLOSIDs. Since h/w only supports a small number, > > + * we can keep a bitmap of free CLOSIDs in a single integer. > > + * > > + * Using a global CLOSID

Re: [PATCH v5 13/18] x86/intel_rdt: Add mkdir to resctrl file system

2016-10-26 Thread Thomas Gleixner
On Sat, 22 Oct 2016, Fenghua Yu wrote: > +/* > + * Trivial allocator for CLOSIDs. Since h/w only supports a small number, > + * we can keep a bitmap of free CLOSIDs in a single integer. > + * > + * Using a global CLOSID across all resources has some advantages and > + * some drawbacks: > + * + We

Re: [PATCH v5 13/18] x86/intel_rdt: Add mkdir to resctrl file system

2016-10-26 Thread Thomas Gleixner
On Sat, 22 Oct 2016, Fenghua Yu wrote: > +/* > + * Trivial allocator for CLOSIDs. Since h/w only supports a small number, > + * we can keep a bitmap of free CLOSIDs in a single integer. > + * > + * Using a global CLOSID across all resources has some advantages and > + * some drawbacks: > + * + We

[PATCH v5 13/18] x86/intel_rdt: Add mkdir to resctrl file system

2016-10-22 Thread Fenghua Yu
From: Fenghua Yu Resource control groups are represented as directories in the resctrl file system. The root directory describes the default resources available to tasks that have not been assigned specific resources. Other directories can be created at the root level to

[PATCH v5 13/18] x86/intel_rdt: Add mkdir to resctrl file system

2016-10-22 Thread Fenghua Yu
From: Fenghua Yu Resource control groups are represented as directories in the resctrl file system. The root directory describes the default resources available to tasks that have not been assigned specific resources. Other directories can be created at the root level to make new resource