Page MenuHomeFreeBSD

D4144.diff
No OneTemporary

D4144.diff

Index: head/sys/boot/kshim/bsd_kernel.c
===================================================================
--- head/sys/boot/kshim/bsd_kernel.c
+++ head/sys/boot/kshim/bsd_kernel.c
@@ -138,6 +138,7 @@
{
int start = ticks;
int delta;
+ int time = 0;
if (cv->sleeping)
return (EWOULDBLOCK); /* not allowed */
@@ -154,6 +155,14 @@
usb_idle();
+ if (++time >= (1000000 / hz)) {
+ time = 0;
+ callout_process(1);
+ }
+
+ /* Sleep for 1 us */
+ delay(1);
+
mtx_lock(mtx);
}

File Metadata

Mime Type
text/plain
Expires
Mon, Mar 10, 3:31 PM (15 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17085984
Default Alt Text
D4144.diff (503 B)

Event Timeline