Page MenuHomeFreeBSD

D33693.diff
No OneTemporary

D33693.diff

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

Mime Type
text/plain
Expires
Tue, Oct 1, 10:15 PM (21 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
13282898
Default Alt Text
D33693.diff (726 B)

Event Timeline