Re: [Xen-devel] [PATCH v5 07/13] x86: dynamically get/set CBM for a domain

2015-04-21 Thread Chao Peng
On Mon, Apr 20, 2015 at 04:52:09PM +0100, Andrew Cooper wrote: > On 17/04/15 15:33, Chao Peng wrote: > > For CAT, COS is maintained in hypervisor only while CBM is exposed to > > user space directly to allow getting/setting domain's cache capacity. > > For each specified CBM, hypervisor will either

Re: [Xen-devel] [PATCH v5 07/13] x86: dynamically get/set CBM for a domain

2015-04-20 Thread Andrew Cooper
On 17/04/15 15:33, Chao Peng wrote: > For CAT, COS is maintained in hypervisor only while CBM is exposed to > user space directly to allow getting/setting domain's cache capacity. > For each specified CBM, hypervisor will either use a existed COS which > has the same CBM or allocate a new one if th

[Xen-devel] [PATCH v5 07/13] x86: dynamically get/set CBM for a domain

2015-04-17 Thread Chao Peng
For CAT, COS is maintained in hypervisor only while CBM is exposed to user space directly to allow getting/setting domain's cache capacity. For each specified CBM, hypervisor will either use a existed COS which has the same CBM or allocate a new one if the same CBM is not found. If the allocation f