Page MenuHomeFreeBSD

D17885.id50110.diff
No OneTemporary

D17885.id50110.diff

Index: sys/kern/sched_ule.c
===================================================================
--- sys/kern/sched_ule.c
+++ sys/kern/sched_ule.c
@@ -1268,9 +1268,11 @@
*/
pri = td->td_priority;
if (td->td_priority <= PRI_MAX_ITHD && THREAD_CAN_SCHED(td, self) &&
- curthread->td_intr_nesting_level && ts->ts_cpu != self) {
- SCHED_STAT_INC(pickcpu_intrbind);
- ts->ts_cpu = self;
+ curthread->td_intr_nesting_level) {
+ if (ts->ts_cpu != self) {
+ SCHED_STAT_INC(pickcpu_intrbind);
+ ts->ts_cpu = self;
+ }
if (TDQ_CPU(self)->tdq_lowpri > pri) {
SCHED_STAT_INC(pickcpu_affinity);
return (ts->ts_cpu);

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 15, 9:03 PM (21 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
9091984
Default Alt Text
D17885.id50110.diff (636 B)

Event Timeline