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

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

cma: Increase number of retries for allocation



It was observed that CMA pages are sometimes getting
pinned down by BG process scheduled out in their exit
path. Since BG process has lower priority they end up
getting less time slice by scheduler there by consuming
more time to free up CMA page.

So instead of failing to allocate and directly
returning error on CMA allocation path, we increase the
number of retries to 2 to see if the process which
was in exit path and about to release pages  was able to
to do so or not.

Change-Id: I693228d36186ab17480f36b492ada91ab7c262d8
Signed-off-by: default avatarSusheel Khiani <skhiani@codeaurora.org>
parent c4acb5c6
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