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

Commit c82c8a5b authored by Ravi Gummadidala's avatar Ravi Gummadidala Committed by Sivan Reinstein
Browse files

msm: ipa: aggregate the trigger to replenish free pool



Queueing the trigger per frame can result in more overhead
for the queueing worker and cause the replenish worker to
be run for short durations with higher scheduling overhead.
This commit causes the trigger to be sent per N frames where
N is a function of the pool size (N = 0.25 * pool size).

Change-Id: I138ea45165e6e0d737aaf6bb9ee4f60c0ef4b029
Signed-off-by: default avatarRavi Gummadidala <rgummadi@codeaurora.org>
parent 5bccce36
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