summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2008-11-25 17:01:15 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2008-11-25 17:01:15 +0000
commit17b61b4e93ed5b0a9304c0c4ff40a522701b9e7d (patch)
tree55d83de0b9a4066985b7f1d506fe7a08a0d4bc99 /sys
parent9e721f8fd8df8087efa736238431cd6aa7dd8536 (diff)
backout large cluster allocators.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_vic.c4
-rw-r--r--sys/kern/uipc_mbuf.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/pci/if_vic.c b/sys/dev/pci/if_vic.c
index a46069d5c66..e214785c663 100644
--- a/sys/dev/pci/if_vic.c
+++ b/sys/dev/pci/if_vic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vic.c,v 1.62 2008/11/25 16:02:06 dlg Exp $ */
+/* $OpenBSD: if_vic.c,v 1.63 2008/11/25 17:01:14 dlg Exp $ */
/*
* Copyright (c) 2006 Reyk Floeter <reyk@openbsd.org>
@@ -566,7 +566,7 @@ vic_alloc_data(struct vic_softc *sc)
int i, q;
sc->sc_rxq[0].pktlen = MCLBYTES;
- sc->sc_rxq[1].pktlen = VIC_JUMBO_FRAMELEN;
+ sc->sc_rxq[1].pktlen = 4096;
for (q = 0; q < VIC_NRXRINGS; q++) {
sc->sc_rxq[q].bufs = malloc(sizeof(struct vic_rxbuf) *
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c
index 61beade8133..4a5e0af1327 100644
--- a/sys/kern/uipc_mbuf.c
+++ b/sys/kern/uipc_mbuf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipc_mbuf.c,v 1.101 2008/11/25 15:43:32 dlg Exp $ */
+/* $OpenBSD: uipc_mbuf.c,v 1.102 2008/11/25 17:01:14 dlg Exp $ */
/* $NetBSD: uipc_mbuf.c,v 1.15.4.1 1996/06/13 17:11:44 cgd Exp $ */
/*
@@ -99,11 +99,13 @@ struct pool mbpool; /* mbuf pool */
u_int mclsizes[] = {
MCLBYTES, /* must be at slot 0 */
4 * 1024,
+#if 0
8 * 1024,
9 * 1024,
12 * 1024,
16 * 1024,
64 * 1024
+#endif
};
static char mclnames[MCLPOOLS][8];
struct pool mclpools[MCLPOOLS];