support for backlog
Change-Id: Id8f503234e7afaa284e6b97dc264eb3a2af145c7
This commit is contained in:
committed by
Masamichi Takagi
parent
e069694c12
commit
37605740a4
@@ -3301,7 +3301,8 @@ void set_timer(int runq_locked)
|
||||
}
|
||||
|
||||
/* Toggle timesharing if CPU core is oversubscribed */
|
||||
if (num_running > 1 || v->current->itimer_enabled) {
|
||||
if (num_running > 1 || v->current->itimer_enabled ||
|
||||
!list_empty(&v->backlog_list)) {
|
||||
if (!cpu_local_var(timer_enabled)) {
|
||||
lapic_timer_enable(/*10000000*/1000000);
|
||||
cpu_local_var(timer_enabled) = 1;
|
||||
|
||||
Reference in New Issue
Block a user