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
> 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
vk# cvs diff sys/dev/ld.c
Index: sys/dev/ld.c
===================================================================
RCS file: /cvsroot/src/sys/dev/ld.c,v
retrieving revision 1.101
diff -u -r1.101 ld.c
--- sys/dev/ld.c 27 Apr 2017 17:07:22 -0000 1.101
+++ sys/dev/ld.c 8 Aug 2017 12:56:06 -0000
@@ -92,7 +92,7 @@
.d_dump = lddump,
.d_psize = ldsize,
.d_discard = lddiscard,
- .d_flag = D_DISK | D_MPSAFE
+ .d_flag = D_DISK
};
const struct cdevsw ld_cdevsw = {
@@ -107,7 +107,7 @@
.d_mmap = nommap,
.d_kqfilter = nokqfilter,
.d_discard = lddiscard,
- .d_flag = D_DISK | D_MPSAFE
+ .d_flag = D_DISK
};
static struct dkdriver lddkdriver = {
vk#
and now the machine behaves as it should, and no longer panics or
wedges.
Regards,
- Håvard
Home |
Main Index |
Thread Index |
Old Index