Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1738023pxy; Fri, 23 Apr 2021 16:04:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMOaheHg9gEcMz98ofFWkSLeNB2TYfRt1OcokrajagaF5Qwe07DP2yOhX5rDvAfCTL10+J X-Received: by 2002:a05:6402:1a2b:: with SMTP id be11mr7192055edb.304.1619219051033; Fri, 23 Apr 2021 16:04:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619219051; cv=none; d=google.com; s=arc-20160816; b=NIyoPz9KzGGbRGKoeh7oiAnzhYzgLKxeihPbbuGyN2MXkAO0Pn0YdNNyD8z01jhFot LNEIcKPkKqijDIZ8il9+kM1y/gPW10u7nxI59enfGseq6pyu6tAupQ7r2pwuJxgGeK9T BpchsmHN8p0Y9VSADMcnBVVLbZyJt2FNWIOjfYStliSMyyUwUnPC8dTcA8ydar7adyL1 NqyUYkl66EWwm0cWZkKJViI4PtolEg07LSK4XtnGzIxRRYGuauv/YNcregevRuq+UZKH Qj8xIsVs2UEA+dUBtGDcCwmIvzQd3YJBqqWTrAsZUZeucYkqxa3eprp2M7w8wnUTXoif NtUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=jyNDQa3mnJIHBGCJjwnWhZ9snfUDq12ZvDnXJRf4nTg=; b=e3fqimKUVVxoU+o74ZV34FKbzDmE3kBfVvHdwAk+XrCl3MXsKp1b35XiTd2WbRxLEJ CW0ReLgkvMIel/As9Xp+WnDyEsiQCd70pGRn++owiIins5fbWEv7U/6pOpsr8Z4l/T// yWVj9RFsTwlXYVmJCj1pOI3T2ien1PMnoEqNlzpSm+/a9Mo9mSAqz2b5aQPCXX1nZsvl 9ffhH9m8NY2tSo04vApD/1GelQzrrYHOpWg4X8hjVbseGq/yQWddcU6Z915DevLzmq1h 16tGrIufGG4QPUcaS/usFa73yZQlGU2rrIE13KUfLLXfb6y+JS1fWDeu/a1FjEFVzT8G e40A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JUUUMdxj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id zm11si6296958ejb.410.2021.04.23.16.03.46; Fri, 23 Apr 2021 16:04:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JUUUMdxj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233525AbhDWW7P (ORCPT + 99 others); Fri, 23 Apr 2021 18:59:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:43718 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231359AbhDWW7O (ORCPT ); Fri, 23 Apr 2021 18:59:14 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5CCA261465; Fri, 23 Apr 2021 22:58:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1619218717; bh=0cCVAfM16m5wt4jGNqpiMyqbG8SYHJHNYom3Egbmiq8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=JUUUMdxj4NQ1GZlTFKGUSCWlm4wiWjE1r0CJBi9LwtehqAMbnOTbiTbmWSQugY9uU tzAHQPmauvo+xLXbY2LP/UUPiVtslSCs+aO2c0scBQTbZnZjzMoALE4FwryIZ7QXHd lucYG4gnv/hPUN3o1gX1EPjJJQxLlFpfjnFYNhLpuy9Q72mGkg42tTKTjhNTDhh54R 46KdzQViccewvKE+KzAXS5oJH8n/tE/qwfZ9ymnu1unvka7dh07TLoi7cGL2ZfvD/W oj8xZ8bK29zW6BXHneTZictEhGpBbBhRUqg4eM4YH9Zf+V0SqBndtNvovfx+Ewg80z tUrPWHmUF87vg== Date: Fri, 23 Apr 2021 15:58:36 -0700 From: Jakub Kicinski To: Oleksandr Natalenko Cc: Alexander Duyck , linux-kernel@vger.kernel.org, Jesse Brandeburg , Tony Nguyen , "David S. Miller" , intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org Subject: Re: [igb] netconsole triggers warning in netpoll_poll_dev Message-ID: <20210423155836.25ef1e77@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20210423081944.kvvm4v7jcdyj74l3@spock.localdomain> References: <20210406123619.rhvtr73xwwlbu2ll@spock.localdomain> <20210406114734.0e00cb2f@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <20210407060053.wyo75mqwcva6w6ci@spock.localdomain> <20210407083748.56b9c261@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <20210407110722.1eb4ebf2@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <20210423081944.kvvm4v7jcdyj74l3@spock.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 23 Apr 2021 10:19:44 +0200 Oleksandr Natalenko wrote: > On Wed, Apr 07, 2021 at 04:06:29PM -0700, Alexander Duyck wrote: > > On Wed, Apr 7, 2021 at 11:07 AM Jakub Kicinski wrote: > > > Sure, that's simplest. I wasn't sure something is supposed to prevent > > > this condition or if it's okay to cover it up. > > > > I'm pretty sure it is okay to cover it up. In this case the "budget - > > 1" is supposed to be the upper limit on what can be reported. I think > > it was assuming an unsigned value anyway. > > > > Another alternative would be to default clean_complete to !!budget. > > Then if budget is 0 clean_complete would always return false. > > So, among all the variants, which one to try? Or there was a separate > patch sent to address this? Alex's suggestion is probably best. I'm not aware of the fix being posted. Perhaps you could take over and post the patch if Intel doesn't chime in?