summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorWillem de Bruijn <willemb@google.com>2020-08-05 04:40:45 -0400
committerDavid S. Miller <davem@davemloft.net>2020-08-05 12:25:35 -0700
commit16f6458f2478b55e2b628797bc81a4455045c74e (patch)
tree272f7907786f9def338b4f93b08e92444413ffb8 /net
parentadf7341064982de923a1f8a11bcdec48be6b3004 (diff)
downloadlwn-16f6458f2478b55e2b628797bc81a4455045c74e.tar.gz
lwn-16f6458f2478b55e2b628797bc81a4455045c74e.zip
selftests/net: relax cpu affinity requirement in msg_zerocopy test
The msg_zerocopy test pins the sender and receiver threads to separate cores to reduce variance between runs. But it hardcodes the cores and skips core 0, so it fails on machines with the selected cores offline, or simply fewer cores. The test mainly gives code coverage in automated runs. The throughput of zerocopy ('-z') and non-zerocopy runs is logged for manual inspection. Continue even when sched_setaffinity fails. Just log to warn anyone interpreting the data. Fixes: 07b65c5b31ce ("test: add msg_zerocopy test") Reported-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Willem de Bruijn <willemb@google.com> Acked-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions