NetBSD-Bugs archive

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

Re: kern/56982: mutex error (locking against myself) in wdc(4)NOIRQcase?



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

From: Taylor R Campbell <riastradh%NetBSD.org@localhost>
To: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
Cc: rokuyama.rk%gmail.com@localhost, gnats-bugs%netbsd.org@localhost, tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: kern/56982: mutex error (locking against myself) in wdc(4)NOIRQcase?
Date: Sun, 28 Aug 2022 13:30:02 +0000

 > Date: Sun, 28 Aug 2022 21:55:15 +0900
 > From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
 >=20
 > It looks HEAD already has a fix for this:
 >  https://github.com/NetBSD/src/commit/7a4a932319c396d15ac96ce84780fc0e510=
 48edb
 >  >> drop wd lock in wdstart1() before calling the ata_bio hook; when call=
 ed
 >  >> from ata thread context, that can still need to sleep for wdc attachm=
 ents
 >  >> in wdcwait()
 >=20
 > I'll close this PR unless someone wants NOIRQ changes to netbsd-9.
 > (sorry for a noise)
 
 Unless the internal ATA API has changed substantially since netbsd-9,
 this is probably worth pulling up as is if the patch applies cleanly,
 if anyone wants to use netbsd-9 on this hardware.
 


Home | Main Index | Thread Index | Old Index