Re: [PATCH 2/9] dma-heap: Add proper kref handling on dma-buf heaps

2023-09-22 Thread T.J. Mercier
On Mon, Sep 11, 2023 at 2:49 AM Christian König wrote: > > Am 11.09.23 um 04:30 schrieb Yong Wu: > > From: John Stultz > > > > Add proper refcounting on the dma_heap structure. > > While existing heaps are built-in, we may eventually > > have heaps loaded from modules, and we'll need to be > > ab

Re: [PATCH 2/9] dma-heap: Add proper kref handling on dma-buf heaps

2023-09-11 Thread Christian König
Am 11.09.23 um 04:30 schrieb Yong Wu: From: John Stultz Add proper refcounting on the dma_heap structure. While existing heaps are built-in, we may eventually have heaps loaded from modules, and we'll need to be able to properly handle the references to the heaps Also moves minor tracking into

[PATCH 2/9] dma-heap: Add proper kref handling on dma-buf heaps

2023-09-10 Thread Yong Wu
From: John Stultz Add proper refcounting on the dma_heap structure. While existing heaps are built-in, we may eventually have heaps loaded from modules, and we'll need to be able to properly handle the references to the heaps Also moves minor tracking into the heap structure so we can properly f