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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D0620C433F5 for ; Sat, 19 Mar 2022 12:03:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239774AbiCSMCb (ORCPT ); Sat, 19 Mar 2022 08:02:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231180AbiCSMCa (ORCPT ); Sat, 19 Mar 2022 08:02:30 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62BE727B60D for ; Sat, 19 Mar 2022 05:01:08 -0700 (PDT) Date: Sat, 19 Mar 2022 13:01:04 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1647691266; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=89agWUDxMyONMhvbmRB+67ox1kUx/bLkXLhrOsubcxk=; b=Ye81CPBnQOKxDYNkTadSa1cq+6YRgkbKsXS8v/Btmduy4EYxUGpLULClH27TrSCLNJFGte 63rU3MeHiV0GWQ1gCdaI/Pewt19G6QqlcS3DhWDqC3w6uvl2bzVCEw7vJMORdlLXKgMhiB kSW+T1NQA5n2zE+u/gRP6YiXUpxSsk4UdrQng3MPh21irZwX3OfNQrqzXhHcdrpwZqpO+G gPcmMCOe2GmF2c+dhrfYwybLZxkWYlL4AfOFujoHZ+8ckrM2FPDipDFP5ChhICABk3H+1I /QhftKHgImAHP90xm5sL/6ZA/bYy96fnhDfZuX+hFuhYxvLx9uaEeovA2p/SNw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1647691266; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=89agWUDxMyONMhvbmRB+67ox1kUx/bLkXLhrOsubcxk=; b=HBvNqIIqd1zYhCLpxj4470xq/EMHVx7lDtey29N64WXJRicPxY/nqk8IW+dWh9PtO1iRzy 4W792F8Rt4bHLTCg== From: Sebastian Andrzej Siewior To: "Jason A. Donenfeld" Cc: netdev@vger.kernel.org, wireguard@lists.zx2c4.com, kuba@kernel.org, Saeed Mahameed , Eric Dumazet , Thomas Gleixner , Peter Zijlstra Subject: Re: [PATCH] net: remove lockdep asserts from ____napi_schedule() Message-ID: References: <20220319004738.1068685-1-Jason@zx2c4.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220319004738.1068685-1-Jason@zx2c4.com> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On 2022-03-18 18:47:38 [-0600], Jason A. Donenfeld wrote: > This reverts commit fbd9a2ceba5c ("net: Add lockdep asserts to > ____napi_schedule()."). While good in theory, in practice it causes > issues with various drivers, and so it can be revisited earlier in the > cycle where those drivers can be adjusted if needed. Do you plan to address to address the wireguard warning? > --- a/net/core/dev.c > +++ b/net/core/dev.c > @@ -4277,9 +4277,6 @@ static inline void ____napi_schedule(struct softnet_data *sd, > { > struct task_struct *thread; > > - lockdep_assert_softirq_will_run(); > - lockdep_assert_irqs_disabled(); Could you please keep that lockdep_assert_irqs_disabled()? That is needed regardless of the upper one. Sebastian