diff options
| author | 2018-03-22 17:12:57 +0100 | |
|---|---|---|
| committer | 2019-04-02 17:15:06 -0700 | |
| commit | d26d3de9d1bb7e94867744278c2800703a8ba8bb (patch) | |
| tree | 7cfcffd922d62ab0ffb7bda215b426e00399ec9f /vulkan/libvulkan/api.cpp | |
| parent | a9ed1a6486545ffc5bffca561d6f8991e7d5a578 (diff) | |
Support initializing ProcessState with custom binder window size.
While the binder kernel driver allocates memory lazily, using
a 1MB binder window does mean 1MB of vmalloc address space is lost.
This can be a problem on 32-bit devices, where the address space
available for vmalloc is very limited.
This change allows initializing ProcessState with a custom mmap
size. Note that this API must be called as early as possible in
the process, before any other hwbinder (API) calls or HIDL calls
have been made.
c/p from 32507d340df9c654ae3129ce666c6a2b5d708719
Bug: 129785390
Test: verify kernel output after calling API
Change-Id: I62cdbcb4ffcad1a6d7b3eeae5560eb3e5e602515
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions