diff options
| author | Dan Williams <[email protected]> | 2019-02-20 19:39:36 +0000 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2019-02-20 19:39:36 +0000 |
| commit | 21c75763a3ae18679e5c4e2260aa9379b073566b (patch) | |
| tree | e9a1881968a95aac7c70bcc1b6a3b448b46254e2 /drivers/infiniband/hw/mlx4/alias_GUID.c | |
| parent | device-dax: Auto-bind device after successful new_id (diff) | |
| download | kernel-21c75763a3ae18679e5c4e2260aa9379b073566b.tar.gz kernel-21c75763a3ae18679e5c4e2260aa9379b073566b.zip | |
device-dax: Add a 'target_node' attribute
The target-node attribute is the Linux numa-node that a device-dax
instance may create when it is online. Prior to being online the
device's 'numa_node' property reflects the closest online cpu node which
is the typical expectation of a device 'numa_node'. Once it is online it
becomes its own distinct numa node, i.e. 'target_node'.
Export the 'target_node' property to give userspace tooling the ability
to predict the effective numa-node from a device-dax instance configured
to provide 'System RAM' capacity.
Cc: Vishal Verma <[email protected]>
Reported-by: Dave Hansen <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/alias_GUID.c')
0 files changed, 0 insertions, 0 deletions
