[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210127080934.GZ827@dhcp22.suse.cz>
Date: Wed, 27 Jan 2021 09:09:34 +0100
From: Michal Hocko <mhocko@...e.com>
To: Minchan Kim <minchan@...nel.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-mm <linux-mm@...ck.org>,
LKML <linux-kernel@...r.kernel.org>, hyesoo.yu@...sung.com,
david@...hat.com, surenb@...gle.com, pullip.cho@...sung.com,
joaodias@...gle.com, hridya@...gle.com, john.stultz@...aro.org,
sumit.semwal@...aro.org, linux-media@...r.kernel.org,
devicetree@...r.kernel.org, hch@...radead.org, robh+dt@...nel.org,
linaro-mm-sig@...ts.linaro.org
Subject: Re: [PATCH v4 4/4] dma-buf: heaps: add chunk heap to dmabuf heaps
On Tue 26-01-21 11:25:36, Minchan Kim wrote:
> On Tue, Jan 26, 2021 at 08:46:05AM +0100, Michal Hocko wrote:
> > On Thu 21-01-21 09:55:02, Minchan Kim wrote:
> > > From: Hyesoo Yu <hyesoo.yu@...sung.com>
> > >
> > > 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
> >
> > 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
Powered by blists - more mailing lists