Page MenuHomeFreeBSD

D33693.1789543710.diff
No OneTemporary

Size
794 B
Referenced Files
None
Subscribers
None

D33693.1789543710.diff

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

Mime Type
text/plain
Expires
Wed, Sep 16, 7:28 AM (12 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29687755
Default Alt Text
D33693.1789543710.diff (794 B)

Event Timeline