]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40evf: Use numa_mem_id() to better support memoryless node
authorJiang Liu <jiang.liu@linux.intel.com>
Mon, 17 Aug 2015 03:19:03 +0000 (11:19 +0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 10 Mar 2016 16:32:09 +0000 (08:32 -0800)
commit71ec9d1c68787daa271a856d63e5c96ef64040e1
tree031f9f0e7a027b351b83826b2b3db2699e1dba38
parent79b72a19a31deaa994ce983731b3e1f564ff80a4
i40evf: Use numa_mem_id() to better support memoryless node

Orabug: 22342532

Function i40e_clean_rx_irq() tries to reuse memory pages allocated
from the nearest node. To better support memoryless node, use
numa_mem_id() instead of numa_node_id() to get the nearest node with
memory.

This change should only affect performance.

Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit 27ca2753500537b8f3f3aba43558d68e2e8439a1)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/i40evf/i40e_txrx.c