summaryrefslogtreecommitdiffstats
path: root/mm/swapfile.c
diff options
context:
space:
mode:
authorTonghao Zhang <xiangxia.m.yue@gmail.com>2017-07-17 23:28:05 -0700
committerDavid S. Miller <davem@davemloft.net>2017-07-19 13:49:39 -0700
commitc57c054eb5b1ccf230c49f736f7a018fcbc3e952 (patch)
tree7974676b06abaa42d1553bc18fab5d9ec430a3b2 /mm/swapfile.c
parent6b098a08ad93660e72e9ddbf5869f93bb5719386 (diff)
downloadop-kernel-dev-c57c054eb5b1ccf230c49f736f7a018fcbc3e952.zip
op-kernel-dev-c57c054eb5b1ccf230c49f736f7a018fcbc3e952.tar.gz
openvswitch: Optimize updating for OvS flow_stats.
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 <xiangxia.m.yue@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/swapfile.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud