From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Borkmann Subject: Re: [PATCH v3 bpf-next 0/2] bpf: enable stackmap with build_id in nmi Date: Tue, 15 May 2018 01:09:22 +0200 Message-ID: <238999d6-7278-93c6-a6e9-9d7e8ae2dec6@iogearbox.net> References: <20180507175049.1541963-1-songliubraving@fb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: kernel-team@fb.com, qinteng@fb.com, tobin@apporbit.com To: Song Liu , netdev@vger.kernel.org Return-path: Received: from www62.your-server.de ([213.133.104.62]:34202 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752408AbeENXJY (ORCPT ); Mon, 14 May 2018 19:09:24 -0400 In-Reply-To: <20180507175049.1541963-1-songliubraving@fb.com> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 05/07/2018 07:50 PM, Song Liu wrote: > 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(-) Applied to bpf-next, thanks Song!