Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F81970821
D17885.id50110.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
636 B
Referenced Files
None
Subscribers
None
D17885.id50110.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D17885: ULE scheduler: Interrupt thread natural binding to the core receiving the interrupt event is easily ignored
Attached
Detach File
Event Timeline
Log In to Comment