NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/56816: Deadlock: sleep during unloading module with kernconfig_lock being held



The following reply was made to PR kern/56816; it has been noted by GNATS.

From: Rin Okuyama <rokuyama.rk%gmail.com@localhost>
To: "gnats-bugs%NetBSD.org@localhost" <gnats-bugs%NetBSD.org@localhost>
Cc: 
Subject: Re: kern/56816: Deadlock: sleep during unloading module with
 kernconfig_lock being held
Date: Sat, 7 May 2022 20:08:01 +0900

 Resending...
 
 > Summary:
 > 
 > During audio(4) module being unloaded, devsw_detach() sleeps in
 > localcount_fini() with kernconfig_lock() being held. This results in
 > deadlock when the next module is loaded.
 
 Oops, not localcount_fini() but localcount_drain() here.
 
 Thanks,
 rin
 


Home | Main Index | Thread Index | Old Index