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

Re: [Xen-devel] [PATCH 3/5] credit2: replace cpumask_first() uses



On Fri, Aug 23, 2013 at 8:54 AM, Jan Beulich <JBeulich@xxxxxxxx> wrote:
> ... with cpumask_any() or cpumask_cycle().
>
> In one case this also allows elimination of a cpumask_empty() call,
> and while doing this I also spotted a redundant use of
> cpumask_weight(). (When running on big systems, operations on CPU masks
> aren't cheap enough to use them carelessly.)
>
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

Reviewed-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>

_______________________________________________
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®.