]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Eliminate the fake contig_dmamap and replace it with a new flag,
authorScott Long <scottl@FreeBSD.org>
Tue, 27 May 2014 21:31:11 +0000 (21:31 +0000)
committerScott Long <scottl@FreeBSD.org>
Tue, 27 May 2014 21:31:11 +0000 (21:31 +0000)
commitde569d9181098eb9c1c188324e29c47eaa9a4c5b
treec97ac942d9d85e06c4b959268c615c1560cf491f
parent1d28cd267a613576210b5fb50809256f30f6f0c1
Eliminate the fake contig_dmamap and replace it with a new flag,
BUS_DMA_KMEM_ALLOC.  They serve the same purpose, but using the flag
means that the map can be NULL again, which in turn enables significant
optimizations for the common case of no bouncing.

Obtained from: Netflix, Inc.
MFC after: 3 days
sys/x86/x86/busdma_bounce.c