Page MenuHomeFreeBSD

D27266.id79700.diff
No OneTemporary

D27266.id79700.diff

Index: sys/kern/kern_timeout.c
===================================================================
--- sys/kern/kern_timeout.c
+++ sys/kern/kern_timeout.c
@@ -1161,7 +1161,7 @@
* just wait for the current invocation to
* finish.
*/
- while (cc_exec_curr(cc, direct) == c) {
+ if (cc_exec_curr(cc, direct) == c) {
/*
* Use direct calls to sleepqueue interface
* instead of cv/msleep in order to avoid
@@ -1209,7 +1209,7 @@
/* Reacquire locks previously released. */
PICKUP_GIANT();
- CC_LOCK(cc);
+ goto again;
}
c->c_flags &= ~CALLOUT_ACTIVE;
} else if (use_lock &&

File Metadata

Mime Type
text/plain
Expires
Mon, Sep 7, 3:02 AM (33 m, 47 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38446973
Default Alt Text
D27266.id79700.diff (631 B)

Event Timeline