Re: [PATCH v4 4/4] dma-buf: heaps: add chunk heap to dmabuf heaps
From: Michal Hocko <mhocko@suse.com>
Date: 2021-01-27 08:37:09
Also in:
linux-media, linux-mm, lkml
From: Michal Hocko <mhocko@suse.com>
Date: 2021-01-27 08:37:09
Also in:
linux-media, linux-mm, lkml
On Tue 26-01-21 11:25:36, Minchan Kim wrote:
On Tue, Jan 26, 2021 at 08:46:05AM +0100, Michal Hocko wrote:quoted
On Thu 21-01-21 09:55:02, Minchan Kim wrote:quoted
From: Hyesoo Yu <redacted> This patch supports chunk heap that allocates the buffers that arranged into a list a fixed size chunks taken from CMA. The chunk heap driver is bound directly to a reserved_memory node by following Rob Herring's suggestion in [1]. [1] https://lore.kernel.org/lkml/20191025225009.50305-2-john.stultz@linaro.org/T/#m3dc63acd33fea269a584f43bb799a876f0b2b45d (local)Who is using this allocator in the kernel?Userspace uses the memory via mapping it via dmabuf.
Ohh, I see. I thought this was an interface to consume in the kernel. Thanks for the clarification! -- Michal Hocko SUSE Labs