diff options
author | Ariane van der Steldt <ariane@cvs.openbsd.org> | 2011-06-23 21:42:06 +0000 |
---|---|---|
committer | Ariane van der Steldt <ariane@cvs.openbsd.org> | 2011-06-23 21:42:06 +0000 |
commit | f6072dd442f07ea7c3ed10002ec772a84cbaf881 (patch) | |
tree | 200f9b7f7c2c9161c03f9bac7419aefe3746eb0b /sys/kern/dma_alloc.c | |
parent | 15bca3199004ca05908945845371a22ec6316104 (diff) |
Make mbufs and dma_alloc be contig allocations.
Requested by dlg@
ok oga@
Diffstat (limited to 'sys/kern/dma_alloc.c')
-rw-r--r-- | sys/kern/dma_alloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/dma_alloc.c b/sys/kern/dma_alloc.c index a38a48f7d2a..504f75c7e26 100644 --- a/sys/kern/dma_alloc.c +++ b/sys/kern/dma_alloc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dma_alloc.c,v 1.8 2011/04/18 19:23:46 art Exp $ */ +/* $OpenBSD: dma_alloc.c,v 1.9 2011/06/23 21:42:05 ariane Exp $ */ /* * Copyright (c) 2010 Theo de Raadt <deraadt@openbsd.org> * @@ -37,7 +37,7 @@ dma_alloc_init(void) 1 << (i + DMA_BUCKET_OFFSET)); pool_init(&dmapools[i], 1 << (i + DMA_BUCKET_OFFSET), 0, 0, 0, dmanames[i], NULL); - pool_set_constraints(&dmapools[i], &kp_dma); + pool_set_constraints(&dmapools[i], &kp_dma_contig); pool_setipl(&dmapools[i], IPL_VM); /* XXX need pool_setlowat(&dmapools[i], dmalowat); */ } |