diff options
author | Maciej Fijalkowski <maciej.fijalkowski@intel.com> | 2021-03-30 01:43:11 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-03-30 19:24:39 +0300 |
commit | 0464b1ed07677f869005bde3fade1580b48de67e (patch) | |
tree | 8c3636ede219c2438a74b214724ecb0bf05b6890 /drivers/net/veth.c | |
parent | 9445f8c765838edf84dd0d3910ff309bdab8f95f (diff) | |
download | linux-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