uti: Increase CPU_HZ to 1000
Change-Id: I8619263845fd8ebabe6fc7de619a5b51ac04470a
This commit is contained in:
@ -3052,7 +3052,7 @@ set_timer()
|
|||||||
/* Toggle timesharing if CPU core is oversubscribed */
|
/* Toggle timesharing if CPU core is oversubscribed */
|
||||||
if (v->runq_len > 1 || v->current->itimer_enabled) {
|
if (v->runq_len > 1 || v->current->itimer_enabled) {
|
||||||
if (!cpu_local_var(timer_enabled)) {
|
if (!cpu_local_var(timer_enabled)) {
|
||||||
lapic_timer_enable(10000000);
|
lapic_timer_enable(/*10000000*/1000000);
|
||||||
cpu_local_var(timer_enabled) = 1;
|
cpu_local_var(timer_enabled) = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user