Loading…
This event has ended. Create your own event → Check it out
This event has ended. Create your own
View analytic
Monday, October 21 • 12:30pm - 1:20pm
Detecting Silent Data Corruptions and Memory Leaks Using DMA Debug API - Shuah Khan, Samsung

Sign up or log in to save this to your schedule and see who's attending!

Linux kernel drivers map and unmap Dynamic Memory Access buffers using DMA API. DMA map operations can fail. Failure to check for errors can result in a variety of problems ranging from panics to silent data corruptions. Kernel panics can be fixed easily, however data corruptions are hard to debug. DMA mapping error analysis performed by the presenter found that more than 50% of map interface return values go unchecked in the kernel. Further more, several drivers fail to unmap buffers when an error occurs in the middle of a multi-page dma mapping attempt. Presenter added a new DMA Debug interface in Linux 3.9 to check for missing mapping error checks. This talk will share the results of the analysis and discuss how to find and fix missing mapping errors checks using the new interface. This talk will discuss possible enhancements to DMA Debug API to detect and flag unmap errors.

Speakers
SK

Shuah Khan

Sr. Linux Kernel Developer, Samsung SRA OSG
Shuah Khan is a Senior Linux Kernel Developer at Samsung's Open Source Group. She is a Linux Kernel Contributor who focuses on IOMMU, DMA, Linux Power Management, and PCIe, in addition to helping with stable release kernel maintenance testing and bug fixes. Shuah has several years of Unix kernel development experience. She has also contributed to OpenHPI, and LLDP projects. She has presented at several internal conferences, and will be speaking... Read More →


Monday October 21, 2013 12:30pm - 1:20pm
Sidlaw

Attendees (27)