xen: sched: optimize exclusive pinning case (Credit1 & 2)
authorDario Faggioli <dfaggioli@suse.com>
Wed, 21 Mar 2018 17:17:45 +0000 (17:17 +0000)
committerGeorge Dunlap <george.dunlap@citrix.com>
Wed, 21 Mar 2018 17:19:08 +0000 (17:19 +0000)
commitb37b61d1788292a6a04f31fe3af11dd0f7e826b6
treee3e3aafbb5bb06752897184ba138e15514c279aa
parent00060f81eee3b93ec1848cccb673b337e7e6d859
xen: sched: optimize exclusive pinning case (Credit1 & 2)

Exclusive pinning of vCPUs is used, sometimes, for
achieving the highest level of determinism, and the
least possible overhead, for the vCPUs in question.

Although static 1:1 pinning is not recommended, for
general use cases, optimizing the tickling code (of
Credit1 and Credit2) is easy and cheap enough, so go
for it.

Signed-off-by: Dario Faggioli <dfaggioli@suse.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
xen/common/sched_credit.c
xen/common/sched_credit2.c
xen/include/xen/perfc_defn.h