summaryrefslogtreecommitdiff
path: root/drivers/net/veth.c
diff options
context:
space:
mode:
authorMaciej Fijalkowski <maciej.fijalkowski@intel.com>2021-03-30 01:43:11 +0300
committerAlexei Starovoitov <ast@kernel.org>2021-03-30 19:24:39 +0300
commit0464b1ed07677f869005bde3fade1580b48de67e (patch)
tree8c3636ede219c2438a74b214724ecb0bf05b6890 /drivers/net/veth.c
parent9445f8c765838edf84dd0d3910ff309bdab8f95f (diff)
downloadlinux-0464b1ed07677f869005bde3fade1580b48de67e.tar.xz
selftests: xsk: Remove sync_mutex_tx and atomic var
Although thread_common_ops() are called in both Tx and Rx threads, testapp_validate() will not spawn Tx thread until Rx thread signals that it has finished its initialization via condition variable. Therefore, locking in thread_common_ops is not needed and furthermore Tx thread does not have to spin on atomic variable. Note that this simplification wouldn't be possible if there would still be a common worker thread. Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20210329224316.17793-13-maciej.fijalkowski@intel.com
Diffstat (limited to 'drivers/net/veth.c')
0 files changed, 0 insertions, 0 deletions