Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F110040064
D22490.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
633 B
Referenced Files
None
Subscribers
None
D22490.diff
View Options
Index: head/sys/dev/virtio/random/virtio_random.c
===================================================================
--- head/sys/dev/virtio/random/virtio_random.c
+++ head/sys/dev/virtio/random/virtio_random.c
@@ -176,14 +176,6 @@
random_source_deregister(&random_vtrnd);
atomic_store_explicit(&g_vtrnd_softc, NULL, memory_order_release);
-
- /*
- * Unfortunately, deregister does not guarantee our source callback
- * will not be invoked after it returns. Use a kludge to prevent some,
- * but not all, possible races.
- */
- tsleep_sbt(&g_vtrnd_softc, 0, "vtrnddet", mstosbt(50), 0, C_HARDCLOCK);
-
return (0);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 13, 8:51 PM (18 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16632895
Default Alt Text
D22490.diff (633 B)
Attached To
Mode
D22490: virtio_random(4): Drop no longer needed unload kludge
Attached
Detach File
Event Timeline
Log In to Comment