In order to help with memory accounting, expose the total pool size of all DMA-BUF heaps at /sys/kernel/dma_heap/total_pools_kb. This information will be exposed as part of Android Bugreport[1]. [1]: https://android-review.googlesource.com/q/topic:%22b%252F167709539%22+(status:open%20OR%20status:merged) Bug: 167709539 Change-Id: I6a1b52517e73103122690f6567f4f295db9ca1ad Signed-off-by: Hridya Valsaraju <hridya@google.com>
8 lines
252 B
Plaintext
8 lines
252 B
Plaintext
What: /sys/kernel/dma_heap/total_pools_kb
|
|
Date: Feb 2021
|
|
KernelVersion: 5.10
|
|
Contact: Hridya Valsaraju <hridya@google.com>,
|
|
Description:
|
|
The total_pools_kb file is read-only and specifies how much
|
|
memory in Kb is allocated to DMA-BUF heap pools.
|