From: kettenis Date: Fri, 2 Jan 2015 17:32:59 +0000 (+0000) Subject: Holds up much better under load with an IPL on the block pool. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4c76dd6696f951e1fcc9acf2a1cc56c160b4a944;p=openbsd Holds up much better under load with an IPL on the block pool. --- diff --git a/sys/dev/pci/if_nep.c b/sys/dev/pci/if_nep.c index f9e3080c6ea..360151f0981 100644 --- a/sys/dev/pci/if_nep.c +++ b/sys/dev/pci/if_nep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_nep.c,v 1.7 2015/01/02 16:20:11 kettenis Exp $ */ +/* $OpenBSD: if_nep.c,v 1.8 2015/01/02 17:32:59 kettenis Exp $ */ /* * Copyright (c) 2014 Mark Kettenis * @@ -524,6 +524,7 @@ nep_attach(struct device *parent, struct device *self, void *aux) } pool_init(nep_block_pool, PAGE_SIZE, 0, 0, 0, "nepblk", NULL); + pool_setipl(nep_block_pool, IPL_NET); } val = nep_read(sc, MIF_CONFIG);