Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151292396
D3324.id7731.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
443 B
Referenced Files
None
Subscribers
None
D3324.id7731.diff
View Options
Index: sys/kern/kern_rmlock.c
===================================================================
--- sys/kern/kern_rmlock.c
+++ sys/kern/kern_rmlock.c
@@ -407,9 +407,11 @@
return (0);
}
} else {
- if (rm->lock_object.lo_flags & LO_SLEEPABLE)
+ if (rm->lock_object.lo_flags & LO_SLEEPABLE) {
+ THREAD_SLEEPING_OK();
sx_xlock(&rm->rm_lock_sx);
- else
+ THREAD_NO_SLEEPING();
+ } else
mtx_lock(&rm->rm_lock_mtx);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 8, 9:18 AM (11 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31091061
Default Alt Text
D3324.id7731.diff (443 B)
Attached To
Mode
D3324: Fix incorrect assertion in a blocking rm_rlock.
Attached
Detach File
Event Timeline
Log In to Comment