Re: [PATCH -tip] locking/rwsem: Check for operations on an uninitialized rwsem
On Sun, Jul 28, 2019 at 09:47:35PM -0700, Davidlohr Bueso wrote: > Currently rwsems is the only locking primitive that lacks this > debug feature. Add it under CONFIG_DEBUG_RWSEMS and do the magic > checking in the locking fastpath (trylock) operation such that > we cover all cases. The unlocking part is pretty straightforward.