[lkml]   [2019]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 04/16] libnvdimm: Move nd_numa_attribute_group to device_type
Dan Williams <> writes:

> A 'struct device_type' instance can carry default attributes for the
> device. Use this facility to remove the export of
> nd_numa_attribute_group and put the responsibility on the core rather
> than leaf implementations to define this attribute.
> Cc: Ira Weiny <>
> Cc: Michael Ellerman <>
> Cc: "Oliver O'Halloran" <>
> Cc: Vishal Verma <>
> Cc: Aneesh Kumar K.V <>
> Signed-off-by: Dan Williams <>

can we also expose target_node in a similar way? This allows application
to better understand the node locality of the SCM device.


 \ /
  Last update: 2019-11-12 10:25    [W:0.204 / U:2.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site