Hi.
On Mon, Mar 28, 2022 at 03:59:44AM +0000, "T.J. Mercier" tjmercier@google.com wrote:
From: Hridya Valsaraju hridya@google.com
The dma_buf_charge_transfer function provides a way for processes to
(s/dma_bug_charge_transfer/dma_bug_transfer_charge/)
transfer charge of a buffer to a different process. This is essential for the cases where a central allocator process does allocations for various subsystems, hands over the fd to the client who requested the memory and drops all references to the allocated memory.
I understood from [1] some buffers are backed by regular RAM. How are these charges going to be transferred (if so)?
Thanks, Michal
[1] https://lore.kernel.org/r/CABdmKX2NSAKMC6rReMYfo2SSVNxEXcS466hk3qF6YFt-j-+_N...