mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-04-28 19:54:01 +00:00
When a new thread is wakeup and added to runqueue, it will get the smallest avt (svt) from runqueue to initiate its avt. But when all threads are blocked, and removed from the runqueue, the svt is 0. The new thread will get avt=0. avt=0 means very high priority, and can run for a very long time until it catchup with other thread's avt in runqueue. To fix it, adjust the new thread's avt when there is another thread in runqueue. Tracked-On: #6888 Signed-off-by: Conghui <conghui.chen@intel.com> |
||
---|---|---|
.. | ||
delay.c | ||
efi_mmap.c | ||
event.c | ||
hv_main.c | ||
hypercall.c | ||
irq.c | ||
ptdev.c | ||
sched_bvt.c | ||
sched_iorr.c | ||
sched_noop.c | ||
sched_prio.c | ||
schedule.c | ||
softirq.c | ||
ticks.c | ||
timer.c | ||
trusty_hypercall.c | ||
vm_load.c |