Re: [PATCH 5/5] mm/hotplug: export try_online_node

From: Michal Hocko
Date: Mon Jun 17 2019 - 03:21:00 EST


[Cc Jerome - email thread starts
http://lkml.kernel.org/r/20190617043635.13201-1-alastair@xxxxxxxxxxx]

On Mon 17-06-19 17:05:30, Alastair D'Silva wrote:
> On Mon, 2019-06-17 at 08:59 +0200, Peter Zijlstra wrote:
> > On Mon, Jun 17, 2019 at 02:36:31PM +1000, Alastair D'Silva wrote:
> > > From: Alastair D'Silva <alastair@xxxxxxxxxxx>
> > >
> > > If an external driver module supplies physical memory and needs to
> > > expose
> >
> > Why would you ever want to allow a module to do such a thing?
> >
>
> I'm working on a driver for Storage Class Memory, connected via an
> OpenCAPI link.
>
> The memory is only usable once the card says it's OK to access it.

Isn't this what HMM is aiming for? Could you give a more precise
description of what the actual storage is, how it is going to be used
etc... In other words describe the usecase?

--
Michal Hocko
SUSE Labs