commit | 3c61d883e1198be1fccab0f639a8930c6038e95e | [log] [tgz] |
---|---|---|
author | Atneya <atneya@google.com> | Mon Sep 20 14:52:15 2021 -0400 |
committer | Atneya Nair <atneya@google.com> | Mon Sep 05 20:24:11 2022 -0700 |
tree | 34486707f49ed315750c80b220e04fa1408bb845 | |
parent | b1c7d2839f96df6de124dc23f5b0ce804c14a395 [diff] |
Replace MemoryDealer in AudioFlinger MemoryDealer can cause internal fragmentation and provides somewhat arbitrary memory limitations for clients of AudioFlinger. Replace with composable allocator allowing for flexible allocation policies. Return deallocated pages to kernel. Test: atest shared_memory_allocator_tests, atest AudioTrackTest, atest AudioRecordTest Bug: 139061005 Change-Id: Ifde23c6024b2ad11ddf1960b572a91e8eedfdb79