Re: [patch V2 08/15] Documentation: Add lock ordering and nesting documentation

From
Joel Fernandes <hidden>
Date
2020-03-22 01:36:28
Also in
linux-pci, linux-usb, linuxppc-dev, lkml, netdev
Reply to
Thomas Gleixner, 2020-03-21
On Sat, Mar 21, 2020 at 10:49:04PM +0100, Thomas Gleixner wrote:
[...] 
quoted
quoted
+rwsems have grown interfaces which allow non owner release for special
+purposes. This usage is problematic on PREEMPT_RT because PREEMPT_RT
+substitutes all locking primitives except semaphores with RT-mutex based
+implementations to provide priority inheritance for all lock types except
+the truly spinning ones. Priority inheritance on ownerless locks is
+obviously impossible.
+
+For now the rwsem non-owner release excludes code which utilizes it from
+being used on PREEMPT_RT enabled kernels.
I could not parse the last sentence here, but I think you meant "For now,
PREEMPT_RT enabled kernels disable code that perform a non-owner release of
an rwsem". Correct me if I'm wrong.
Right, that's what I wanted to say :)

Care to send a delta patch?
Absolutely, doing that now. :-)

thanks,

 - Joel
Thread (72 messages) 72 messages, 17 authors, last reply 2020-03-22
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help