Re: [Xen-devel] [PATCH v2 05/10] xen: credit2: implement yield()

2016-09-30 Thread Dario Faggioli
On Fri, 2016-09-30 at 13:52 +0100, George Dunlap wrote: > On 30/09/16 03:53, 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 > >

Re: [Xen-devel] [PATCH v2 05/10] xen: credit2: implement yield()

2016-09-30 Thread George Dunlap
On 30/09/16 03:53, 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

[Xen-devel] [PATCH v2 05/10] xen: credit2: implement yield()

2016-09-29 Thread Dario Faggioli
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 pure overhead, as it causes the scheduler kick in, but the