Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F135918493
D35643.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
926 B
Referenced Files
None
Subscribers
None
D35643.diff
View Options
diff --git a/sys/kern/kern_intr.c b/sys/kern/kern_intr.c
--- a/sys/kern/kern_intr.c
+++ b/sys/kern/kern_intr.c
@@ -589,7 +589,7 @@
ithread->it_flags |= IT_DEAD;
if (TD_AWAITING_INTR(td)) {
TD_CLR_IWAIT(td);
- sched_add(td, SRQ_INTR);
+ sched_wakeup(td, SRQ_INTR);
} else
thread_unlock(td);
}
@@ -1020,7 +1020,7 @@
CTR3(KTR_INTR, "%s: schedule pid %d (%s)", __func__, td->td_proc->p_pid,
td->td_name);
TD_CLR_IWAIT(td);
- sched_add(td, SRQ_INTR);
+ sched_wakeup(td, SRQ_INTR);
} else {
#ifdef HWPMC_HOOKS
it->it_waiting++;
diff --git a/sys/kern/kern_timeout.c b/sys/kern/kern_timeout.c
--- a/sys/kern/kern_timeout.c
+++ b/sys/kern/kern_timeout.c
@@ -559,7 +559,7 @@
thread_lock_block_wait(td);
THREAD_LOCK_ASSERT(td, MA_OWNED);
TD_CLR_IWAIT(td);
- sched_add(td, SRQ_INTR);
+ sched_wakeup(td, SRQ_INTR);
} else
mtx_unlock_spin_flags(&cc->cc_lock, MTX_QUIET);
} else
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 15, 3:50 AM (2 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25314723
Default Alt Text
D35643.diff (926 B)
Attached To
Mode
D35643: ithreads: Support priority adjustment by schedulers.
Attached
Detach File
Event Timeline
Log In to Comment