aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorYunsheng Lin <linyunsheng@huawei.com>2020-09-16 17:33:49 +0800
committerDavid S. Miller <davem@davemloft.net>2020-09-17 16:14:28 -0700
commit48ee56fd0b3785481a521fb7daaf1465219fc3af (patch)
tree870fcb293c004d899d2f87343d2b23a442eab935 /tools/perf/scripts/python/export-to-postgresql.py
parentnet: hns3: optimize the rx clean process (diff)
downloadlinux-dev-48ee56fd0b3785481a521fb7daaf1465219fc3af.tar.xz
linux-dev-48ee56fd0b3785481a521fb7daaf1465219fc3af.zip
net: hns3: use writel() to optimize the barrier operation
writel() can be used to order I/O vs memory by default when writing portable drivers. Use writel() to replace wmb() + writel_relaxed(), and writel() is dma_wmb() + writel_relaxed() for ARM64, so there is an optimization here because dma_wmb() is a lighter barrier than wmb(). Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions