diff options
author | 2021-08-26 16:21:35 +0800 | |
---|---|---|
committer | 2021-08-29 10:53:45 +0100 | |
commit | 3dcc1edcbbc68991e7b3b1be6a6a7962a730fa35 (patch) | |
tree | f9ec030a4d5f67aac23f815fd4ffa0f3676882c0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | niu: switch from 'pci_' to 'dma_' API (diff) | |
download | wireguard-linux-3dcc1edcbbc68991e7b3b1be6a6a7962a730fa35.tar.xz wireguard-linux-3dcc1edcbbc68991e7b3b1be6a6a7962a730fa35.zip |
virtio_net: reduce raw_smp_processor_id() calling in virtnet_xdp_get_sq
smp_processor_id()/raw* will be called once each when not
more queues in virtnet_xdp_get_sq() which is called in
non-preemptible context, so it's safe to call the function
smp_processor_id() once.
Signed-off-by: Li RongQing <lirongqing@baidu.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