]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 26 Feb 2016 02:28:50 +0000 (18:28 -0800)
commit059fd0cf779f4b43b75127320ef4c3ae3c51fde6
tree558b44fe67ae2d0e3ceb6bca798802841df9f8d0
parentb76e6093700a6814f789ad4d93949f4991897dd9
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>
(cherry picked from commit 294409d20572e9bcf857328286433f851168d54a)

Orabug: 21886720
Signed-off-by: Jason Luo <zhangqing.luo@oracle.com>
drivers/hv/channel.c