userret: assert td_lk_slocks == 0

From: Andriy Gapon <avg_at_FreeBSD.org>
Date: Mon, 12 Aug 2019 12:14:25 +0300
I am trying to debug a leak of a shared vnode lock and I noticed that
there is no check for td_lk_slocks in userret.  There are checks for
td_rw_rlocks and td_sx_slocks.  I wonder if there is any valid scenario
where a thread is allowed to retain a shared lock manager lock across
system calls.

Thanks!
-- 
Andriy Gapon
Received on Mon Aug 12 2019 - 07:14:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:21 UTC