Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167512938
D56443.id175707.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
557 B
Referenced Files
None
Subscribers
None
D56443.id175707.diff
View Options
Index: sys/compat/linuxkpi/common/include/linux/rwsem.h
===================================================================
--- sys/compat/linuxkpi/common/include/linux/rwsem.h
+++ sys/compat/linuxkpi/common/include/linux/rwsem.h
@@ -51,6 +51,7 @@
#define down_read_nested(_rw, _sc) down_read(_rw)
#define init_rwsem(_rw) linux_init_rwsem(_rw, rwsem_name("lnxrwsem"))
#define down_write_nest_lock(sem, _rw) down_write(_rw)
+#define rwsem_is_contended(_rw) sx_xlocked(&(_rw)->sx)
#ifdef WITNESS_ALL
/* NOTE: the maximum WITNESS name is 64 chars */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Aug 23, 9:48 AM (35 m, 57 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37131178
Default Alt Text
D56443.id175707.diff (557 B)
Attached To
Mode
D56443: sx: Add `sx_has_waiters()` macro
Attached
Detach File
Event Timeline
Log In to Comment