Date: Thu, 13 Feb 2014 12:51:50 -0800 From: Vijay Singh <vijju.singh@gmail.com> To: hackers@freebsd.org Subject: Debugging rw lock Message-ID: <CALCNsJS6vFJU18F3VRR-T2RdtGNxd3fycUCkQ63BmGp29DAUMw@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
I am running into an issue where an rw lock is read locked and never unlocked, and causes a system to livelock. I was wondering if its possible to figure out which thread owns the read lock? It's the tcp pcbinfo lock. (kgdb-amd64-7.4-08) show_rwlock rw name : tcp class: rw flags: {SLEEP, INITED, WITNESS, RECURSE, UPGRADABLE} state: RLOCK: 1 locks waiters: writers Any help is appreciated. -vijay
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALCNsJS6vFJU18F3VRR-T2RdtGNxd3fycUCkQ63BmGp29DAUMw>