xen/sched: switch schedule_data.curr to point at sched_unit
authorJuergen Gross <jgross@suse.com>
Fri, 27 Sep 2019 07:00:10 +0000 (09:00 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 27 Sep 2019 13:18:38 +0000 (15:18 +0200)
commit532c929207a72aa9bfcc461fcc2a056263e71183
tree3315075cdb765b93f01937223051cee3d27c9f81
parent110f57a1ca893230e9bb4bdefe933bf36755a259
xen/sched: switch schedule_data.curr to point at sched_unit

In preparation of core scheduling let the percpu pointer
schedule_data.curr point to a strct sched_unit instead of the related
vcpu. At the same time rename the per-vcpu scheduler specific structs
to per-unit ones.

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