Re: [PATCH v2 1/2] openvswitch: Optimize updating for OvS flow_stats.

2017-07-19 Thread David Miller
From: Tonghao Zhang Date: Mon, 17 Jul 2017 23:28:05 -0700 > In the ovs_flow_stats_update(), we only use the node > var to alloc flow_stats struct. But this is not a > common case, it is unnecessary to call the numa_node_id() > everytime. This patch is not a bugfix, but

[PATCH v2 1/2] openvswitch: Optimize updating for OvS flow_stats.

2017-07-18 Thread Tonghao Zhang
In the ovs_flow_stats_update(), we only use the node var to alloc flow_stats struct. But this is not a common case, it is unnecessary to call the numa_node_id() everytime. This patch is not a bugfix, but there maybe a small increase. Signed-off-by: Tonghao Zhang ---