Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157094940
D1638.id3391.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
478 B
Referenced Files
None
Subscribers
None
D1638.id3391.diff
View Options
Index: sys/kern/kern_timeout.c
===================================================================
--- sys/kern/kern_timeout.c
+++ sys/kern/kern_timeout.c
@@ -1096,6 +1096,11 @@
struct lock_class *class;
int direct, sq_locked, use_lock;
+ if (safe) {
+ WITNESS_WARN(WARN_GIANTOK | WARN_SLEEPOK, c->c_lock,
+ "calling %s", __func__);
+ }
+
/*
* Some old subsystems don't hold Giant while running a callout_stop(),
* so just discard this check for the moment.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, May 19, 10:13 AM (10 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33306964
Default Alt Text
D1638.id3391.diff (478 B)
Attached To
Mode
D1638: Add witness warning to callout_drain()
Attached
Detach File
Event Timeline
Log In to Comment