Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F154952120
D33693.id105170.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
794 B
Referenced Files
None
Subscribers
None
D33693.id105170.diff
View Options
Index: sys/kern/kern_timeout.c
===================================================================
--- sys/kern/kern_timeout.c
+++ sys/kern/kern_timeout.c
@@ -393,7 +393,7 @@
cc->cc_thread = td;
thread_lock(td);
sched_class(td, PRI_ITHD);
- sched_prio(td, PI_SWI(SWI_CLOCK));
+ sched_prio(td, PI_SOFTCLOCK);
TD_SET_IWAIT(td);
thread_lock_set(td, (struct mtx *)&cc->cc_lock);
thread_unlock(td);
Index: sys/sys/priority.h
===================================================================
--- sys/sys/priority.h
+++ sys/sys/priority.h
@@ -87,6 +87,7 @@
#define PI_REALTIME (PRI_MIN_ITHD + 0)
#define PI_AV (PRI_MIN_ITHD + 4)
+#define PI_SOFTCLOCK PI_AV
#define PI_NET (PRI_MIN_ITHD + 8)
#define PI_DISK (PRI_MIN_ITHD + 12)
#define PI_TTY (PRI_MIN_ITHD + 16)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, May 1, 7:10 AM (14 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32560889
Default Alt Text
D33693.id105170.diff (794 B)
Attached To
Mode
D33693: Run softclock threads at a hardware ithread priority.
Attached
Detach File
Event Timeline
Log In to Comment