]> xenbits.xensource.com Git - people/royger/xen.git/commit
xen: add sched_unit_pause_nosync() and sched_unit_unpause()
authorJuergen Gross <jgross@suse.com>
Fri, 27 Sep 2019 07:00:23 +0000 (09:00 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 27 Sep 2019 13:32:22 +0000 (15:32 +0200)
commitb218ad9f97f0eb2af75d6bc3fadf68ea3c20bc88
treea6ba308099ab5930afb2f26fa702df2a0f7604ea
parent2a404605e96dff4f098af039cff5e5f37591db51
xen: add sched_unit_pause_nosync() and sched_unit_unpause()

The credit scheduler calls vcpu_pause_nosync() and vcpu_unpause()
today. Add sched_unit_pause_nosync() and sched_unit_unpause() to
perform the same operations on scheduler units instead.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Dario Faggioli <dfaggioli@suse.com>
xen/common/sched_credit.c
xen/include/xen/sched-if.h