Skip to content
Commit 285c61ae authored by Peter Zijlstra's avatar Peter Zijlstra
Browse files

locking/rwsem: Introduce rwsem_write_trylock()



One copy of this logic is better than three.

Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20201207090243.GE3040@hirez.programming.kicks-ass.net
parent 3379116a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment