Re: [PATCH bpf-next v3 1/5] bpf: consolidate shared test timing code

2021-03-02 Thread Andrii Nakryiko
On Mon, Mar 1, 2021 at 2:19 AM Lorenz Bauer wrote: > > Share the timing / signal interruption logic between different > implementations of PROG_TEST_RUN. There is a change in behaviour > as well. We check the loop exit condition before checking for > pending signals. This resolves an edge case whe

[PATCH bpf-next v3 1/5] bpf: consolidate shared test timing code

2021-03-01 Thread Lorenz Bauer
Share the timing / signal interruption logic between different implementations of PROG_TEST_RUN. There is a change in behaviour as well. We check the loop exit condition before checking for pending signals. This resolves an edge case where a signal arrives during the last iteration. Instead of abor