[ovs-dev] [Patch V3 4/9] openvswitch: Replace cpu_to_node() with cpu_to_mem() to support memoryless node

Pravin Shelar pshelar at nicira.com
Tue Aug 18 00:14:08 UTC 2015

On Sun, Aug 16, 2015 at 8:19 PM, Jiang Liu <jiang.liu at linux.intel.com> wrote:
> Function ovs_flow_stats_update() allocates memory with __GFP_THISNODE
> flag set, which may cause permanent memory allocation failure on
> memoryless node. So replace cpu_to_node() with cpu_to_mem() to better
> support memoryless node. For node with memory, cpu_to_mem() is the same
> as cpu_to_node().
> This change only affects performance and shouldn't affect functionality.
> Signed-off-by: Jiang Liu <jiang.liu at linux.intel.com>

Acked-by: Pravin B Shelar <pshelar at nicira.com>

More information about the dev mailing list