diff options
| author | 2024-02-05 21:00:45 +0800 | |
|---|---|---|
| committer | 2024-02-07 18:26:20 -0800 | |
| commit | c8f4b19d64b93091ca30fe6800f41d1532bd7507 (patch) | |
| tree | f50d1bb1842774aed08e108f041db2a78c27d425 /net/unix/garbage.c | |
| parent | net/smc: change the term virtual ISM to Emulated-ISM (diff) | |
| download | wireguard-linux-c8f4b19d64b93091ca30fe6800f41d1532bd7507.tar.xz wireguard-linux-c8f4b19d64b93091ca30fe6800f41d1532bd7507.zip | |
selftests/net/forwarding: add slowwait functions
Add slowwait functions to wait for some operations that may need a long time
to finish. The busywait executes the cmd too fast, which is kind of wasting
cpu in this scenario. At the same time, if shell debugging is enabled with
`set -x`. the busywait will output too much logs.
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Link: https://lore.kernel.org/r/20240205130048.282087-2-liuhangbin@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions
