mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-03 20:59:53 +00:00
sched_control is per-pcpu, each sched_control has a tick timer running periodically. Every period called a tick. In tick handler, we do 1) compute left timeslice of current thread_object if it's not the idle 2) make a schedule request if current thread_object run out of timeslice For runqueue maintaining, we will keep objects which has timeslice in the front of runqueue and the ones get new replenished in tail. Tracked-On: #4178 Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> Signed-off-by: Yu Wang <yu1.wang@intel.com> Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com> |
||
---|---|---|
.. | ||
hv_main.c | ||
hypercall.c | ||
ptdev.c | ||
sched_iorr.c | ||
sched_noop.c | ||
schedule.c | ||
softirq.c | ||
trusty_hypercall.c | ||
vm_load.c |