Drivers: hv: vmbus: Allocate ring buffer memory in NUMA aware fashion
authorK. Y. Srinivasan <kys@microsoft.com>
Mon, 1 Jun 2015 04:27:03 +0000 (21:27 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Jun 2015 23:58:33 +0000 (16:58 -0700)
commit294409d20572e9bcf857328286433f851168d54a
tree798aecdad08fef940a57ae36800fb2c971a29b4b
parent50566ac87065b9ade71aef5e69d23e06a0664db9
Drivers: hv: vmbus: Allocate ring buffer memory in NUMA aware fashion

Allocate ring buffer memory from the NUMA node assigned to the channel.
Since this is a performance and not a correctness issue, if the node specific
allocation were to fail, fall back and allocate without specifying the node.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/channel.c