Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107815995
D33693.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
726 B
Referenced Files
None
Subscribers
None
D33693.diff
View Options
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
@@ -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);
diff --git a/sys/sys/priority.h b/sys/sys/priority.h
--- a/sys/sys/priority.h
+++ b/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
Sun, Jan 19, 10:45 AM (16 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15939250
Default Alt Text
D33693.diff (726 B)
Attached To
Mode
D33693: Run softclock threads at a hardware ithread priority.
Attached
Detach File
Event Timeline
Log In to Comment