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

Skip to content
Commit f6a0d0a2 authored by David Dai's avatar David Dai Committed by Gerrit - the friendly Code Review server
Browse files

msm: msm_bus: Allocate commit buffers only once



Instead of continuously allocating and freeing buffers on every
client request, allocate a large enough buffer at init for all
usecases and reuse. This should help in usecases where system is
under memory pressure and also improve on performance.

Change-Id: I74c6f1d7407eb85a16fab67b2dc9323d0062ebbf
Signed-off-by: default avatarDavid Dai <daidavid1@codeaurora.org>
parent e7be1c72
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