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

Re: [Xen-devel] [PATCH 1 of 3] xen: sched_credit, improve tickling of idle CPUs



On Mon, 2012-12-03 at 16:34 +0000, Dario Faggioli wrote:
> +            /*
> +             * If there aren't idlers for new, then letting new preempt cur 
> and
> +             * try to migrate cur becomes ineviable. If that is the case, 
> update

"inevitable"

> +             * the mask of the to-be-tickled CPUs accordingly (i.e., with 
> cur's
> +             * idlers instead of new's).
> +             */
> +            if ( new->pri > cur->pri && cpumask_empty(&idle_mask) )
> +                cpumask_and(&idle_mask, prv->idlers, 
> cur->vcpu->cpu_affinity);
> +

(I have nothing more intelligent to say...)


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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