"...0d0cea2424ae97b27447dc64a7dbfae83c036c45b403392f0e8ba.png" did not exist on "99580664aa83ca04bb52988d504a4195b41833b0"
cma: Remove potential deadlock situation
CMA locking is currently very coarse. The cma_mutex protects both the bitmap and avoids concurrency with alloc_contig_range. There are several situations which may result in a deadlock on the CMA mutex currently, mostly involving AB/BA situations with alloc and free. Fix this issue by protecting the bitmap with a mutex per CMA region and use the existing mutex for protecting against concurrency with alloc_contig_range. Signed-off-by:Laura Abbott <lauraa@codeaurora.org> Signed-off-by:
Marek Szyprowski <m.szyprowski@samsung.com>
Loading
Please register or sign in to comment