Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0c37aeaa authored by Susheel Khiani's avatar Susheel Khiani Committed by Gerrit - the friendly Code Review server
Browse files

cma: Add 100ms delay before retrying for CMA allocation



CMA allocation sometimes fail because page is
momentarily pinned by some other process, i.e.
reference count page->_count > 1, as a
result of which we are not able to migrate
the page out of CMA area. When such situation
occurs, instead of failing to allocate and directly
returning error,sleep for 100ms and re-scan the
CMA area to see if the page which was pinned down
has been freed.

Change-Id: Ie9b92002f38fd44cf28aee32a184c57c26e59437
Signed-off-by: default avatarSusheel Khiani <skhiani@codeaurora.org>
parent d47fe24c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment