From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 694CFC31E5B for ; Tue, 18 Jun 2019 00:18:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4BAFE20873 for ; Tue, 18 Jun 2019 00:18:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728602AbfFRASx (ORCPT ); Mon, 17 Jun 2019 20:18:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:56116 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726568AbfFRASx (ORCPT ); Mon, 17 Jun 2019 20:18:53 -0400 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9602B20861; Tue, 18 Jun 2019 00:18:51 +0000 (UTC) Date: Mon, 17 Jun 2019 20:18:50 -0400 From: Steven Rostedt To: Alexei Starovoitov Cc: Matt Mullins , Song Liu , "linux-kernel@vger.kernel.org" , "daniel@iogearbox.net" , "bpf@vger.kernel.org" , "ast@kernel.org" , "mingo@redhat.com" , "netdev@vger.kernel.org" , Martin Lau , Yonghong Song , "arnd@arndb.de" , Andrii Nakryiko Subject: Re: [PATCH] bpf: hide do_bpf_send_signal when unused Message-ID: <20190617201850.010a4cf6@gandalf.local.home> In-Reply-To: References: <20190617125724.1616165-1-arnd@arndb.de> <20190617190920.71c21a6c@gandalf.local.home> <75e9ff40e1002ad9c82716dfd77966a3721022b6.camel@fb.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Mon, 17 Jun 2019 16:27:33 -0700 Alexei Starovoitov wrote: > On Mon, Jun 17, 2019 at 4:13 PM Matt Mullins wrote: > > > > > > The bug (really just a warning) reported is exactly here. > > > > I don't think bpf_send_signal is tied to modules at all; > > send_signal_irq_work_init and the corresponding initcall should be > > moved outside that #ifdef. > > right. I guess send_signal_irq_work_init was accidentally placed > after bpf_event_init and happened to be within that ifdef. > Should definitely be outside. So Arnd did find a bug. Just the wrong solution ;-) -- Steve