commit | 781da1e7c69a863a3b31c178141132c53173827f | [log] [tgz] |
---|---|---|
author | Lina Iyer <ilina@codeaurora.org> | Sat Apr 15 11:07:06 2017 -0600 |
committer | Lina Iyer <ilina@codeaurora.org> | Mon Apr 17 11:56:56 2017 -0600 |
tree | a4728426a71ab8efd0f93b0907f186f25f4b002c | |
parent | 31bbb3d7185d467825b3ac2d1d063c767ca7cf48 [diff] |
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: Lina Iyer <ilina@codeaurora.org>