Currently a call to dma_pool_alloc() with a ___GFP_ZERO flag returns
a non-zeroed memory region.
This patchset adds support for the __GFP_ZERO flag to dma_pool_alloc(),
adds 2 wrapper functions for allocing zeroed memory from a pool,
and provides a coccinelle script for finding & replacing
Currently a call to dma_pool_alloc() with a ___GFP_ZERO flag returns
a non-zeroed memory region.
This patchset adds support for the __GFP_ZERO flag to dma_pool_alloc(),
adds 2 wrapper functions for allocing zeroed memory from a pool,
and provides a coccinelle script for finding replacing
2 matches
Mail list logo