Re: [PATCH] hmat: Register attributes for memory hot add

From: Brice Goglin
Date: Wed Apr 10 2019 - 07:07:44 EST


Thanks Keith, this solves my issue.

On a machine where node4 (PMEM) is close to node0 and node1 (1st socket
SNCs), hotplugging that node makes node0 and node1 appear as initiators
to node4 (and node4 as target to them). Same for the other socket. And
perf attributes look good.

Reported-and-tested-by: Brice Goglin <Brice.Goglin@xxxxxxxx>

Just one minor typo below.


Le 09/04/2019 Ã 23:44, Keith Busch a ÃcritÂ:
> Some types of memory nodes that HMAT describes may not be online at the
> time we initially parse their nodes' tables. If the node should be set
> to online later, as can happen when using PMEM as RAM after boot, the
> node's attributes will be missing their initiator links and performance.
>
> Regsiter a memory notifier callback and set the memory attributes when

Typo regsiter->register

thanks

Brice