[PATCH v2 0/4] mm: add dma_pool_zalloc() & pci_pool_zalloc()

2015-07-31 Thread Sean O. Stalley
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

[PATCH v2 0/4] mm: add dma_pool_zalloc() pci_pool_zalloc()

2015-07-31 Thread Sean O. Stalley
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