diff options
| author | Xu Kuohai <[email protected]> | 2023-03-28 21:10:48 -0400 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2023-03-29 17:26:09 -0700 |
| commit | 4ca13d1002f37c10038ff4ed3cfdc70dbe049d60 (patch) | |
| tree | 1c92420cfb04f0eab3e611ed06c929713b594425 /tools/perf/scripts/python/bin | |
| parent | 8a9abe0293294fee279750058a509bbfab0c57a3 (diff) | |
selftests/bpf: Rewrite two infinite loops in bound check cases
The two infinite loops in bound check cases added by commit
1a3148fc171f ("selftests/bpf: Check when bounds are not in the 32-bit range")
increased the execution time of test_verifier from about 6 seconds to
about 9 seconds. Rewrite these two infinite loops to finite loops to get
rid of this extra time cost.
Signed-off-by: Xu Kuohai <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions