Re: [Xen-devel] [PATCH 2/3] xen: sched: add wakeup flags to the scheduler interface

2016-02-11 Thread Dario Faggioli
On Thu, 2016-02-11 at 06:24 -0700, Jan Beulich wrote: > > > > On 11.02.16 at 12:38, wrote: > > --- a/xen/include/xen/sched-if.h > > +++ b/xen/include/xen/sched-if.h > > @@ -144,7 +144,8 @@ struct scheduler { > >  void (*remove_vcpu)(const struct scheduler *, > > struct vcpu *); > >

Re: [Xen-devel] [PATCH 2/3] xen: sched: add wakeup flags to the scheduler interface

2016-02-11 Thread Jan Beulich
>>> On 11.02.16 at 12:38, wrote: > --- a/xen/include/xen/sched-if.h > +++ b/xen/include/xen/sched-if.h > @@ -144,7 +144,8 @@ struct scheduler { > void (*remove_vcpu)(const struct scheduler *, struct vcpu *); > > void (*sleep) (const struct scheduler *, stru

[Xen-devel] [PATCH 2/3] xen: sched: add wakeup flags to the scheduler interface

2016-02-11 Thread Dario Faggioli
For making it possible to pass to the specific scheduler code information about the nature of the wakeup, and let it act accordingly, if necessary. For now, this will only be useful to Credit1, that needs to differentiate between 'regular' wakeups (happening, for instance, because an I/O event), a