Re: panic: sleeping thread owns a mutex

From: M. Warner Losh <imp_at_bsdimp.com>
Date: Mon, 28 Apr 2003 20:53:01 -0600 (MDT)
In message: <0HE200DATX6MIM_at_mta5.snfc21.pbi.net>
            Jeffrey Hsu <hsu_at_FreeBSD.org> writes:
: Now, what about the race between the WI_UNLOCK() and the mtx_destroy() in
: wi_detach() and any other WI_LOCK(), say in wi_start()?

Nothing that I can see.  Maybe we need to take out the if lock before
taking out the wi_lock and require that the if_detach interface be
locked...  But I haven't thought about it too much so there's likely
issues with it.

Warner
Received on Mon Apr 28 2003 - 17:53:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:05 UTC