-
- Downloads
gpu: ion: Minimize allocation fallback delay
When we allocate from iommu heap we first try to allocate 1M pages. If that fails we try 64K pages, which falls back to 4K pages. However, we don't want to incur too much overhead when allocating with fallbacks so we don't want the higher order page allocation to retry, perform reclaim, or run memory compaction. Configure the GFP flags to ensure that when we allocate pages greater than order 0 we don't try to do any retries, reclaim, access emergency pools, or run memory compaction. This will ensure lower memory allocation latency for applications. CRs-Fixed: 470389 Change-Id: Ibb3483dddbedbc733a1f7968821e7bc47bedffcd Signed-off-by:Olav Haugan <ohaugan@codeaurora.org> (cherry picked from commit 365a6e06)
Loading
Please register or sign in to comment