xen: credit2: clear bit instead of skip step in runq_tickle()
authorDario Faggioli <dario.faggioli@citrix.com>
Wed, 15 Feb 2017 15:47:29 +0000 (15:47 +0000)
committerGeorge Dunlap <george.dunlap@citrix.com>
Wed, 15 Feb 2017 15:58:16 +0000 (15:58 +0000)
commite58b6d95e8cff2db1fd3545eb43a50362b2fb65a
tree3c8e5feb2b84d88ce50ea4f4dac481b72ed706a3
parent268896781b7b07551ecde8276670e3a6175a8b23
xen: credit2: clear bit instead of skip step in runq_tickle()

Since we are doing cpumask manipulation already, clear a bit
in the mask at once. Doing that will save us an if, later in
the code.

No functional change intended.

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
xen/common/sched_credit2.c