From: Christoph Hellwig <hch(a)infradead.org>
Sent: Monday, 17 June 2019 5:15 PM
To: Alastair D'Silva <alastair(a)d-silva.org>
Cc: Peter Zijlstra <peterz(a)infradead.org>; Andrew Morton <akpm@linux-
foundation.org>; David Hildenbrand <david(a)redhat.com>; Oscar Salvador
<osalvador(a)suse.com>; Michal Hocko <mhocko(a)suse.com>; Pavel Tatashin
<pasha.tatashin(a)soleen.com>; Wei Yang <richard.weiyang(a)gmail.com>;
Arun KS <arunks(a)codeaurora.org>; Qian Cai <cai(a)lca.pw>; Thomas Gleixner
<tglx(a)linutronix.de>; Ingo Molnar <mingo(a)kernel.org>; Josh Poimboeuf
<jpoimboe(a)redhat.com>; Jiri Kosina <jkosina(a)suse.cz>; Mukesh Ojha
<mojha(a)codeaurora.org>; Mike Rapoport <rppt(a)linux.vnet.ibm.com>;
Baoquan He <bhe(a)redhat.com>; Logan Gunthorpe
<logang(a)deltatee.com>; linux-mm(a)kvack.org; linux-
Subject: Re: [PATCH 5/5] mm/hotplug: export try_online_node
On Mon, Jun 17, 2019 at 05:05:30PM +1000, 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(a)d-silva.org>
> > >
> > > 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.
And all that should go through our pmem APIs, not not directly poke into
internals. And if you still need core patches send them along with
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
Alastair D'Silva mob: 0423 762 819
skype: alastair_dsilva msn: alastair(a)d-silva.org