aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/stacktrace.c
diff options
context:
space:
mode:
authorLorenz Bauer <lmb@cloudflare.com>2021-03-03 10:18:12 +0000
committerAlexei Starovoitov <ast@kernel.org>2021-03-04 19:11:29 -0800
commit607b9cc92bd7208338d714a22b8082fe83bcb177 (patch)
tree0861dda11c1d0f0323f17919ea0c3a0c895b7075 /kernel/stacktrace.c
parentMerge branch 'Improve BPF syscall command documentation' (diff)
downloadlinux-607b9cc92bd7208338d714a22b8082fe83bcb177.tar.gz
linux-607b9cc92bd7208338d714a22b8082fe83bcb177.zip
bpf: Consolidate shared test timing code
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 <lmb@cloudflare.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20210303101816.36774-2-lmb@cloudflare.com
Diffstat (limited to 'kernel/stacktrace.c')
0 files changed, 0 insertions, 0 deletions
02-05 01:14:38 +0100'>2009-02-05x86: fix grammar in user-visible BIOS warningAlex Chiang1-1/+1 2009-02-04x86/Kconfig.cpu: make Kconfig help readable in the consoleBorislav Petkov1-13/+15 2009-02-04x86, 64-bit: print DMI info in the oops traceKyle McMartin1-2/+7 2009-02-03x86: APIC: enable workaround on AMD Fam10h CPUsBorislav Petkov1-1/+1 2009-02-03xen: disable interrupts before saving in percpuJeremy Fitzhardinge1-1/+3 2009-02-03x86: add x86@kernel.org to MAINTAINERSH. Peter Anvin1-0/+1 2009-02-02x86: push old stack address on irqstack for unwinderMartin Hicks1-0/+1 2009-02-02virtio-pci: do not oops on config change if driver not loadedMark McLoughlin1-1/+1 2009-02-02modules: Use a better scheme for refcountingEric Dumazet2-19/+41 2009-02-02pxamci: enable DMA for write ops after CMD/RESPCliff Brake1-1/+15 2009-02-02pxamci: replace #ifdef CONFIG_PXA27x with if (cpu_is_pxa27x())Cliff Brake1-5/+4 2009-02-02ricoh_mmc: Use suspend_late/resume_earlyphilipl@overt.org1-4/+4 2009-02-02mmci: Add support for ST Micro derivateLinus Walleij2-4/+61 2009-02-02mmc: Add a MX2/MX3 specific SDHC driverSascha Hauer4-0/+927 2009-02-02icside: fix PCB version 6 support (v2)Bartlomiej Zolnierkiewicz1-1/+1 2009-02-02tx4939ide: typo fix and minor cleanupAtsushi Nemoto1-2/+2 2009-02-02ide: add CS5536 host driver (v3)Bartlomiej Zolnierkiewicz3-0/+319 2009-02-02ide: Force VIA IDE legacy interrupts for AmigaOne boardsGerhard Pircher1-0/+5 2009-02-02IDE: Unregister and disable devices if initialization fails.Ian Campbell1-1/+2 2009-02-02ide: fix ide_register_port() failure handlingBartlomiej Zolnierkiewicz1-8/+32 2009-02-02ide: struct device - replace bus_id with dev_name(), dev_set_name()Kay Sievers1-1/+1 2009-02-02ide-cd: fix DMA for non bio-backed requestsBorislav Petkov2-3/+9