credit1: replace cpumask_empty() uses
authorJan Beulich <jbeulich@suse.com>
Fri, 23 Aug 2013 13:06:21 +0000 (15:06 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 23 Aug 2013 13:06:21 +0000 (15:06 +0200)
commitb845268509f30a4f4e8e5ca9e7d323f468d21044
tree2c30a70d72947706650f2d8a551edcf78fe8d5eb
parenta6aed7607de96904a96b8800b454511cf8334979
credit1: replace cpumask_empty() uses

In one case it was redundant with the operation it got combined with,
and in the other it could easily be replaced by range checking the
result of a subsequent operation. (When running on big systems,
operations on CPU masks aren't cheap enough to use them carelessly.)

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Reviewed-by: George Dunlap <george.dunlap@eu.citrix.com>
xen/common/sched_credit.c