Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157932570
D27266.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
646 B
Referenced Files
None
Subscribers
None
D27266.diff
View Options
Index: head/sys/kern/kern_timeout.c
===================================================================
--- head/sys/kern/kern_timeout.c
+++ head/sys/kern/kern_timeout.c
@@ -1145,7 +1145,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
@@ -1193,7 +1193,7 @@
/* Reacquire locks previously released. */
PICKUP_GIANT();
- CC_LOCK(cc);
+ goto again;
}
c->c_flags &= ~CALLOUT_ACTIVE;
} else if (use_lock &&
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, May 27, 2:55 PM (10 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33560651
Default Alt Text
D27266.diff (646 B)
Attached To
Mode
D27266: callout(9): Fix a race between migration and callout_drain()
Attached
Detach File
Event Timeline
Log In to Comment