Loading…
LinuxCon Europe has ended
Back To Schedule
Tuesday, November 6 • 11:05am - 11:50am
Contiguous Memory Allocator Usage Basics - Michal Nazarwicz, Google

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

This presentation demonstrates how to use Contiguous Memory Allocator in device drivers an how to integrate it with the DMA subsystem.  It also describes basic principles of how CMA works.  It is aimed at maintainers who wish to add CMA support to their platforms, but should be of interest to device driver authors as well.
The rise of smart phones makes Linux inability to allocate big physically contiguous memory blocks more apparent then ever.  The standard allocator is capped at 4 MiB blocks while at the same time a 5 megapixel camera requires 15 MiB of memory.  IO MMU and vectored I/O would solve the problem but are not always available and often infer performance penalty.  CMA has been designed to solve the problem by migrating pages when big memory buffers are needed.  This approach makes permanent memory reservations unnecessary.


Speakers
MN

Michal Nazarewicz

Google
Michal is a software engineer at Google with past experience at Samsung Poland R&D Center. While working at Samsung, he was involved in USB gadgets development (most notably, he has created mass storage function, functionfs and multifunction composite gadget) as well as worked on... Read More →


Tuesday November 6, 2012 11:05am - 11:50am CET
Rossini I

Attendees (0)