]> xenbits.xensource.com Git - xen.git/commit
xen: credit1: fix mask to be used for tickling in Credit1
authorDario Faggioli <dario.faggioli@citrix.com>
Thu, 15 Sep 2016 11:35:03 +0000 (12:35 +0100)
committerGeorge Dunlap <george.dunlap@citrix.com>
Thu, 15 Sep 2016 11:39:47 +0000 (12:39 +0100)
commitf83fc393b2bb0a8b97bca07d810684a2c709aaa8
tree213af5df7d051dcdfc1e4580733327cbd841e209
parentb19da0ee4f751ff628662a11b7f5d05ff4038977
xen: credit1: fix mask to be used for tickling in Credit1

If there are idle pcpus inside the waking vcpu's
soft-affinity mask, we should really tickle one
of them (this is one of the purposes of the
__runq_tickle() function itself!), not just
any idle pcpu.

The issue has been introduced in 02ea5031825d
("credit1: properly deal with pCPUs not in any cpupool"),
where the usage of idle_mask is changed, without
updating the bottom of the function, where it
is also referenced.

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