Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/i2o Don't wait for allocation in polling mode.
details: https://anonhg.NetBSD.org/src/rev/3d7f490470bf
branches: trunk
changeset: 355674:3d7f490470bf
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Wed Aug 09 16:09:16 2017 +0000
description:
Don't wait for allocation in polling mode.
diffstat:
sys/dev/i2o/ld_iop.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 6566ed592be7 -r 3d7f490470bf sys/dev/i2o/ld_iop.c
--- a/sys/dev/i2o/ld_iop.c Wed Aug 09 09:48:11 2017 +0000
+++ b/sys/dev/i2o/ld_iop.c Wed Aug 09 16:09:16 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ld_iop.c,v 1.37 2017/02/27 21:32:33 jdolecek Exp $ */
+/* $NetBSD: ld_iop.c,v 1.38 2017/08/09 16:09:16 mlelstv Exp $ */
/*-
* Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ld_iop.c,v 1.37 2017/02/27 21:32:33 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ld_iop.c,v 1.38 2017/08/09 16:09:16 mlelstv Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -448,7 +448,7 @@
sc = device_private(ld->sc_dv);
iop = device_private(device_parent(ld->sc_dv));
- im = iop_msg_alloc(iop, IM_WAIT);
+ im = iop_msg_alloc(iop, poll ? IM_POLL : IM_WAIT);
mf.msgflags = I2O_MSGFLAGS(i2o_rbs_cache_flush);
mf.msgfunc = I2O_MSGFUNC(sc->sc_ii.ii_tid, I2O_RBS_CACHE_FLUSH);
Home |
Main Index |
Thread Index |
Old Index