On Wed, Mar 3, 2021 at 2:18 AM Lorenz Bauer <l...@cloudflare.com> 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 where a signal > arrives during the last iteration. Instead of aborting with > EINTR we return the successful result to user space. > > Signed-off-by: Lorenz Bauer <l...@cloudflare.com> > ---
LGTM. Acked-by: Andrii Nakryiko <and...@kernel.org> > net/bpf/test_run.c | 141 +++++++++++++++++++++++++-------------------- > 1 file changed, 78 insertions(+), 63 deletions(-) > [...]