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

From: 'Christoph Hellwig'
Date: Mon Jun 17 2019 - 09:20:16 EST


On Mon, Jun 17, 2019 at 06:00:00PM +1000, Alastair D'Silva wrote:
> > And all that should go through our pmem APIs, not not directly poke into
> mm
> > internals. And if you still need core patches send them along with the
> actual
> > driver.
>
> I tried that, but I was getting crashes as the NUMA data structures for that
> node were not initialised.
>
> Calling this was required to prevent uninitialized accesses in the pmem
> library.

Please send your driver to the linux-nvdimm and linux-mm lists so that
it can be carefully reviewed.