summaryrefslogtreecommitdiff
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2019-11-17 09:45:45 -0800
committerDan Williams <dan.j.williams@intel.com>2019-11-19 09:52:41 -0800
commitbcba0c45471269d98cdbf53830694acf5a9792fc (patch)
tree35075a8e1bdbfebe944c47e1235c5c1b19529c57 /lib/dynamic_debug.c
parentcb4dd729ee6ccc67ad604b1750990eb8c18783fa (diff)
downloadlinux-next-bcba0c45471269d98cdbf53830694acf5a9792fc.tar.gz
libnvdimm: Export the target_node attribute for regions and namespaces
Aneesh points out that some platforms may have "local" attached persistent memory and "remote" persistent memory that map to the same "online" node, or persistent memory devices with different performance properties. In this case 'numa_node' is identical for the two instances, but 'target_node' is differentiated so platform firmware can communicate distinct performance properties per range. Expose 'target_node' by default to allow for disambiguation of devices that share the same numa_map_to_online_node() result. Reported-by: "Aneesh Kumar K.V" <aneesh.kumar@linux.ibm.com> Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> Link: https://lore.kernel.org/r/157401274500.43284.2369509941678577768.stgit@dwillia2-desk3.amr.corp.intel.com Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions