Schedule the ithread on the same cpu as the interrupt
Tested by: kmacy Submitted by: jeffr
This commit is contained in:
parent
5f1e4ae331
commit
fb1e3ccd7e
@ -1859,8 +1859,7 @@ sched_add(struct thread *td, int flags)
|
||||
CTR2(KTR_ULE, "ithd %d < %d",
|
||||
td->td_priority, PRI_MAX_ITHD);
|
||||
ts->ts_cpu = cpuid;
|
||||
}
|
||||
if (pick_pri)
|
||||
} else if (pick_pri)
|
||||
ts->ts_cpu = tdq_pickpri(tdq, ts, flags);
|
||||
else
|
||||
ts->ts_cpu = tdq_pickidle(tdq, ts);
|
||||
|
Loading…
Reference in New Issue
Block a user