Revision 2cece21f18eddb69a2adbadfff95a650e1402bd2 authored by Marius Strobl on 22 July 2012, 14:32:49 UTC, committed by Marius Strobl on 22 July 2012, 14:32:49 UTC
Revert the use of BUS_DMA_ALLOCNOW when creating the DMA tag for user
data introduced in r236061 (MFC'ed to stable/9 in r237186). Using that
flag doesn't make that much sense on this case as the DMA maps using
it are also created during sym_pci_attach(). Moreover, due to the
maxsegsz parameter used, doing so may exhaust the bounce pages pool
on architectures requiring bounce pages. [1]
While at it, use a slightly more appropriate maxsegsz parameter.

PR:		169526
Submitted by:	Mike Watters [1]
Approved by:	re (kib)
1 parent 18f50d0
History
File Mode Size
Makefile -rw-r--r-- 196 bytes
cksum.1 -rw-r--r-- 5.2 KB
cksum.c -rw-r--r-- 3.5 KB
crc.c -rw-r--r-- 5.9 KB
crc32.c -rw-r--r-- 4.5 KB
extern.h -rw-r--r-- 1.9 KB
print.c -rw-r--r-- 2.3 KB
sum1.c -rw-r--r-- 2.3 KB
sum2.c -rw-r--r-- 2.3 KB

back to top