summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsthen <sthen@openbsd.org>2015-03-02 11:55:52 +0000
committersthen <sthen@openbsd.org>2015-03-02 11:55:52 +0000
commit21dd04ae0fd1a2d2d0d3c5191f14c650a8a00bec (patch)
tree237c4c0b08d557bd1df04d4c53bb24ddf923ea2f
parentremove unused variable (diff)
downloadwireguard-openbsd-21dd04ae0fd1a2d2d0d3c5191f14c650a8a00bec.tar.xz
wireguard-openbsd-21dd04ae0fd1a2d2d0d3c5191f14c650a8a00bec.zip
Remove the mpsafe flag for mpii(4), it is a suspect in some kernel hangs I've
seen on MP kernels when doing bulk io transfers from a multithreaded program (bacula-fd). ok dlg@
-rw-r--r--sys/dev/pci/mpii.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/mpii.c b/sys/dev/pci/mpii.c
index 4d68b172dd1..fa0376a96e1 100644
--- a/sys/dev/pci/mpii.c
+++ b/sys/dev/pci/mpii.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpii.c,v 1.98 2015/01/27 03:17:36 dlg Exp $ */
+/* $OpenBSD: mpii.c,v 1.99 2015/03/02 11:55:52 sthen Exp $ */
/*
* Copyright (c) 2010, 2012 Mike Belopuhov
* Copyright (c) 2009 James Giannoules
@@ -578,7 +578,7 @@ mpii_attach(struct device *parent, struct device *self, void *aux)
memset(&saa, 0, sizeof(saa));
saa.saa_sc_link = &sc->sc_link;
- sc->sc_ih = pci_intr_establish(sc->sc_pc, ih, IPL_BIO | IPL_MPSAFE,
+ sc->sc_ih = pci_intr_establish(sc->sc_pc, ih, IPL_BIO,
mpii_intr, sc, sc->sc_dev.dv_xname);
if (sc->sc_ih == NULL)
goto free_devs;