[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180507175049.1541963-1-songliubraving@fb.com>
Date: Mon, 7 May 2018 10:50:47 -0700
From: Song Liu <songliubraving@...com>
To: <netdev@...r.kernel.org>
CC: Song Liu <songliubraving@...com>, <kernel-team@...com>,
<qinteng@...com>, <tobin@...orbit.com>
Subject: [PATCH v3 bpf-next 0/2] bpf: enable stackmap with build_id in nmi
Changes v2 -> v3:
Improve syntax based on suggestion by Tobin C. Harding.
Changes v1 -> v2:
1. Rename some variables to (hopefully) reduce confusion;
2. Check irq_work status with IRQ_WORK_BUSY (instead of work->sem);
3. In Kconfig, let BPF_SYSCALL select IRQ_WORK;
4. Add static to DEFINE_PER_CPU();
5. Remove pr_info() in stack_map_init().
Song Liu (2):
bpf: enable stackmap with build_id in nmi context
bpf: add selftest for stackmap with build_id in NMI context
init/Kconfig | 1 +
kernel/bpf/stackmap.c | 59 +++++++++++--
tools/testing/selftests/bpf/test_progs.c | 134 +++++++++++++++++++++++++++++
tools/testing/selftests/bpf/urandom_read.c | 10 ++-
4 files changed, 196 insertions(+), 8 deletions(-)
--
2.9.5
Powered by blists - more mailing lists