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

Skip to content
Commit 781da1e7 authored by Lina Iyer's avatar Lina Iyer
Browse files

drivers: qcom: rpmh: Avoid allocating memory on heap for each request



Allocate payload data statically as part of the structure over
allocating memory on the heap for each request and releasing them. This
should help avoid fragmenting the kernel memory and speed up the
RPMH request operation a bit while simplifying the code, a bit.

Change-Id: Ia0baf8c1313d017e6d43ff6e4f7ee9cb8e71c9ce
Signed-off-by: default avatarLina Iyer <ilina@codeaurora.org>
parent 31bbb3d7
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