Re: Add scheduler patch?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, Daniel

Yes, Credit Scheduler just sets 2 parameter only.

Please see following code.
http://xen.begi.net/xen-unstable/S/1538.html#L701

Thanks
Atsushi SAKAI


Daniel Veillard <veillard@xxxxxxxxxx> wrote:

> On Tue, Jun 05, 2007 at 07:42:31PM +0900, Atsushi SAKAI wrote:
> > Hi, Daniel
> > 
> > Thank you for reviewing.
> > 
> > About xenHypervisorSetSchedulerParameters() in case of credit scheduler.
> > I just set not changed parameter at first.
> > I guess no problem on this.
> > Any problem?
> > 
> > +            /* credit scheduler parameters 
> > +             * following values do not change the parameters 
> > +             */
> > +            op_dom.u.getschedinfo.u.credit.weight = 0;
> > +            op_dom.u.getschedinfo.u.credit.cap    = (uint16_t)~0U;
> 
>   yes I have seen that, but I wonder what happens when only one parameter
> is not 0, does the hypercall set only that parameter ?
> That does no prevent pushing that first version but that something which 
> should be double checked to avoid catastrophic behaviour on edge cases.
> 
> Daniel
> 
> -- 
> Red Hat Virtualization group http://redhat.com/virtualization/
> Daniel Veillard      | virtualization library  http://libvirt.org/
> veillard@xxxxxxxxxx  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
> http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]