igb: only recycle page if it is on our numa node
authorAlexander Duyck <alexander.h.duyck@intel.com>
Thu, 12 Nov 2009 18:38:35 +0000 (18:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 14 Nov 2009 04:46:53 +0000 (20:46 -0800)
commitd1eff35061b9346cb9bef2b79d9d99c8c096df13
tree79d0a691d5c9399ad49c93b36fe76c7c0590cf1b
parentdbabb065802a46d64b8869ba97674bfa90b55d83
igb: only recycle page if it is on our numa node

This patch makes it so that we only recycle pages when they are from the
local NUMA node.  Non-local pages are freed and replaced with locally
allocated pages.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/igb_main.c