diff options
| author | Li RongQing <[email protected]> | 2021-08-26 08:21:35 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-08-29 09:53:45 +0000 |
| commit | 3dcc1edcbbc68991e7b3b1be6a6a7962a730fa35 (patch) | |
| tree | f9ec030a4d5f67aac23f815fd4ffa0f3676882c0 /net/unix/af_unix.c | |
| parent | niu: switch from 'pci_' to 'dma_' API (diff) | |
| download | kernel-3dcc1edcbbc68991e7b3b1be6a6a7962a730fa35.tar.gz kernel-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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
