Re: [Xen-devel] [PATCH 06/24] xen: credit2: implement yield()

2016-09-29 Thread Dario Faggioli
On Tue, 2016-09-13 at 14:33 +0100, George Dunlap wrote: > On 17/08/16 18:18, Dario Faggioli wrote: > > Alternatively, we can actually _subtract_ some credits to a > > yielding vcpu. > > That will sort of make the effect of a call to yield last in time. > > But normally we want the yield to be temp

Re: [Xen-devel] [PATCH 06/24] xen: credit2: implement yield()

2016-09-20 Thread George Dunlap
On 20/09/16 14:25, George Dunlap wrote: > On 17/08/16 18:18, Dario Faggioli wrote: >> When a vcpu explicitly yields it is usually giving >> us an advice of "let someone else run and come back >> to me in a bit." >> >> Credit2 isn't, so far, doing anything when a vcpu >> yields, which means an yield

Re: [Xen-devel] [PATCH 06/24] xen: credit2: implement yield()

2016-09-20 Thread George Dunlap
On 17/08/16 18:18, Dario Faggioli wrote: > When a vcpu explicitly yields it is usually giving > us an advice of "let someone else run and come back > to me in a bit." > > Credit2 isn't, so far, doing anything when a vcpu > yields, which means an yield is basically a NOP (well, > actually, it's pur

Re: [Xen-devel] [PATCH 06/24] xen: credit2: implement yield()

2016-09-13 Thread George Dunlap
On 17/08/16 18:18, Dario Faggioli wrote: > When a vcpu explicitly yields it is usually giving > us an advice of "let someone else run and come back > to me in a bit." > > Credit2 isn't, so far, doing anything when a vcpu > yields, which means an yield is basically a NOP (well, > actually, it's pur