NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/52462: aac driver (and possibly others) needs MPification
The following reply was made to PR kern/52462; it has been noted by GNATS.
From: Michael van Elst <mlelstv%serpens.de@localhost>
To: Havard Eidnes <he%NetBSD.org@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, kern-bug-people%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/52462: aac driver (and possibly others) needs MPification
Date: Tue, 8 Aug 2017 17:58:18 +0200
On Tue, Aug 08, 2017 at 02:58:16PM +0200, Havard Eidnes wrote:
> > Ok. For the next try: remove the patch and simply declare ld as non-mpsafe
> > by removing the D_MPSAFE flags.
>
> OK, did that with
> and now the machine behaves as it should, and no longer panics or
> wedges.
Good.
http://ftp.netbsd.org/pub/NetBSD/misc/mlelstv/ld.diff
is a patch that takes KERNEL_LOCK when calling into the backend
(hopefully without the locking order violation), except for
i2o,cac,nvme,virtio and sdmmc which are tagged as safe.
Greetings,
--
Michael van Elst
Internet: mlelstv%serpens.de@localhost
"A potential Snark may lurk in every tree."
Home |
Main Index |
Thread Index |
Old Index