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

Re: [Xen-devel] Re: [PATCH] [RFC] Credit2 scheduler prototype



On 13/01/2010 14:48, "George Dunlap" <George.Dunlap@xxxxxxxxxxxxx> wrote:

> The first implements something like what you suggest below, but
> instead of using a sort of "hack" with VPF_migrate, it makes a proper
> "context_saved" SCHED_OP callback.

I thought using the vcpu_migrate() path might work well since you presumably
have logic there to pick a new cpu which is relatively unloaded, making the
cpu which tried to schedule the vcpu but had to idle instead a prime
candidate. So rather than having to implement a new callback hook, you'd get
to leverage the pick_cpu hook for free?

> The second addresses the fact that when sharing runqueues,
> v->processor may change quickly without an explicit migrate.

I can't think of a better solution for this one.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.