Stefan Hajnoczi
2021-Sep-27 08:02 UTC
[PATCH 1/2] virtio: introduce virtio_dev_to_node helper
On Sun, Sep 26, 2021 at 05:55:17PM +0300, Max Gurtovoy wrote:> Also expose numa_node field as a sysfs attribute. Now virtio device > drivers will be able to allocate memory that is node-local to the > device. This significantly helps performance and it's oftenly used in > other drivers such as NVMe, for example. > > Signed-off-by: Max Gurtovoy <mgurtovoy at nvidia.com> > --- > drivers/virtio/virtio.c | 10 ++++++++++ > include/linux/virtio.h | 13 +++++++++++++ > 2 files changed, 23 insertions(+)Reviewed-by: Stefan Hajnoczi <stefanha at redhat.com> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: not available URL: <http://lists.linuxfoundation.org/pipermail/virtualization/attachments/20210927/e8cd21c7/attachment-0001.sig>