Re: [Linaro-mm-sig] [PATCHv23 13/16] drivers: add Contiguous Memory Allocator

2012-02-29 Thread Barry Song
2012/2/23 Marek Szyprowski : > The Contiguous Memory Allocator is a set of helper functions for DMA > mapping framework that improves allocations of contiguous memory chunks. > > CMA grabs memory on system boot, marks it with MIGRATE_CMA migrate type > and gives back to the system. Kernel is allowe

[PATCHv23 13/16] drivers: add Contiguous Memory Allocator

2012-02-22 Thread Marek Szyprowski
The Contiguous Memory Allocator is a set of helper functions for DMA mapping framework that improves allocations of contiguous memory chunks. CMA grabs memory on system boot, marks it with MIGRATE_CMA migrate type and gives back to the system. Kernel is allowed to allocate only movable pages withi