Re: [PATCH 4/4] memremap: provide a not device managed memremap_pages

From: Christoph Hellwig
Date: Sun Aug 18 2019 - 05:04:45 EST


On Fri, Aug 16, 2019 at 02:00:57PM -0700, Andrew Morton wrote:
> On Fri, 16 Aug 2019 08:54:34 +0200 Christoph Hellwig <hch@xxxxxx> wrote:
>
> > The kvmppc ultravisor code wants a device private memory pool that is
> > system wide and not attached to a device. Instead of faking up one
> > provide a low-level memremap_pages for it. Note that this function is
> > not exported, and doesn't have a cleanup routine associated with it to
> > discourage use from more driver like users.
>
> Confused. Which function is "not exported"?

Leftover from v1 and dropped now.