On Fri, 2016-01-15 at 11:01 -0600, Jonathan Creekmore wrote: > Allow the schedulers to be independently enabled or disabled at > compile-time. To match existing behavior, all four schedulers are > compiled in by default, although the Credit2, RTDS, and ARINC653 are > marked EXPERIMENTAL to match their not currently supported status. > > CC: George Dunlap > CC: Dario Faggioli > Signed-off-by: Jonathan Creekmore > Reviewed-by: Doug Goldstein > > --- >  > diff --git a/xen/common/Kconfig b/xen/common/Kconfig > index eadfc3b..7cc99c7 100644 > --- a/xen/common/Kconfig > +++ b/xen/common/Kconfig >  > diff --git a/xen/common/Makefile b/xen/common/Makefile > index 9f8b214..4df71ee 100644 > --- a/xen/common/Makefile > +++ b/xen/common/Makefile The above changes looks fine to me, but I really speak almost no Kconfig. :-/ On the rest of the patch, I only have one comment. > diff --git a/xen/common/schedule.c b/xen/common/schedule.c > index d121896..2f98a48 100644 > --- a/xen/common/schedule.c > +++ b/xen/common/schedule.c > @@ -65,10 +65,18 @@ DEFINE_PER_CPU(struct schedule_data, > schedule_data); >  DEFINE_PER_CPU(struct scheduler *, scheduler); >   >  static const struct scheduler *schedulers[] = { > +#ifdef CONFIG_SCHED_CREDIT >      &sched_credit_def, > +#endif > If I understood correctly, Credit is always going to be there, so I guess these #ifdef could go away? However, since this is just killed later, I don't think it should block the patch (series). So: Acked-by: Dario Faggioli Regards, Dario -- <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)