summaryrefslogtreecommitdiff
path: root/arch/arm/mm
diff options
context:
space:
mode:
authorLaura Abbott <lauraa@codeaurora.org>2014-02-25 11:01:19 -0800
committerMarek Szyprowski <m.szyprowski@samsung.com>2014-05-15 12:14:21 +0200
commit7ee793a62fa8c544f8b844e6e87b2d8e8836b219 (patch)
tree5885be219592f9cf5a1cb2f81efda7148ad3019a /arch/arm/mm
parentd6d211db37e75de2ddc3a4f979038c40df7cc79c (diff)
downloadlwn-7ee793a62fa8c544f8b844e6e87b2d8e8836b219.tar.gz
lwn-7ee793a62fa8c544f8b844e6e87b2d8e8836b219.zip
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>
Diffstat (limited to 'arch/arm/mm')
0 files changed, 0 insertions, 0 deletions