[Xen-devel] [PATCH 2/4] xen: credit2: allow to set and get utilization cap

2017-06-08 Thread Dario Faggioli
As cap is already present in Credit1, as a parameter, all the wiring is there already for it to be percolate down to csched2_dom_cntl() too. In this commit, we actually deal with it, and implement setting, changing or disabling the cap of a domain. Signed-off-by: Dario Faggioli --- Cc: George Du

Re: [Xen-devel] [PATCH 2/4] xen: credit2: allow to set and get utilization cap

2017-06-28 Thread George Dunlap
On Thu, Jun 8, 2017 at 1:08 PM, Dario Faggioli wrote: > As cap is already present in Credit1, as a parameter, all > the wiring is there already for it to be percolate down > to csched2_dom_cntl() too. > > In this commit, we actually deal with it, and implement > setting, changing or disabling the

Re: [Xen-devel] [PATCH 2/4] xen: credit2: allow to set and get utilization cap

2017-06-29 Thread Alan Robinson
On Thu, Jun 08, 2017 at 02:08:54PM +0200, Dario Faggioli wrote: > As cap is already present in Credit1, as a parameter, all > the wiring is there already for it to be percolate down s/be // > to csched2_dom_cntl() too. Alan ___ Xen-devel mailing list

Re: [Xen-devel] [PATCH 2/4] xen: credit2: allow to set and get utilization cap

2017-06-29 Thread George Dunlap
On 29/06/17 08:39, Alan Robinson wrote: > On Thu, Jun 08, 2017 at 02:08:54PM +0200, Dario Faggioli wrote: >> As cap is already present in Credit1, as a parameter, all >> the wiring is there already for it to be percolate down > > s/be // or "to be percolated down" -G __

Re: [Xen-devel] [PATCH 2/4] xen: credit2: allow to set and get utilization cap

2017-06-29 Thread Dario Faggioli
On Wed, 2017-06-28 at 16:19 +0100, George Dunlap wrote: > On Thu, Jun 8, 2017 at 1:08 PM, Dario Faggioli > wrote: > > > > +/* > > + * We are disabling the cap for this domain, which may > > have vCPUs > > + * waiting for a replenishment, and we need to unpark >