🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #16723

Re: [PATCH net v2 1/2] net: napi: add completion with an ordered IRQ mask callback

#16723
From: Jakub Kicinski
Date: Sun, 15 Nov 2026 18:26
9 lines
8209 bytes
On Sun, 15 Nov 2026 15:12:45 +0800 Congjie Zhou wrote:
> napi_complete_done() can clear SCHED, arm the watchdog and return false
> when deferring hard IRQs. A false return therefore does not guarantee
> that the caller still owns NAPI. Masking interrupts after this return
> can overwrite the interrupt state established by a successor poll.

Please stop submitting this LLM slop. You reported the bug,
if maintainers have time they will fix it.
Technical Details
Message-ID: <20261115102629.2c6d107d@kernel.org>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-363793-linux-kernel-netdev=dewy.ru
References: <tencent_AA4F39DA7ADE330C721C03AAA832B92DD608@qq.com> <tencent_2A5F8EBA9EC78CA99CD080386A68EE90B506@qq.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-363793-linux-kernel-netdev=dewy.ru
From: kuba@kernel.org (Jakub Kicinski)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v2 1/2] net: napi: add completion with an ordered
 IRQ mask callback
Date: Sun, 15 Nov 2026 10:26:29 -0800
Organization: Usenet Network
Message-ID: <20261115102629.2c6d107d@kernel.org>
References: <tencent_AA4F39DA7ADE330C721C03AAA832B92DD608@qq.com>
	<tencent_2A5F8EBA9EC78CA99CD080386A68EE90B506@qq.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="1871118"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:g8ktIfpdw171YBeEN/Av0N8WZuo= sha256:K4lkbqCZw8gzHyeePzq0omOU2gZspft9bH8lwTne3MQ=
	sha1:nVhXnURRahnGHvOIbFHX5eOG3R8= sha256:dqpSFsp1gZE1hAqUFwl9jKWvjCYV048+BGs+sUoJAdk=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 1B031114A2D; Sun, 15 Nov 2026 21:26:50 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id traMZdSqIVCj;
	Sun, 15 Nov 2026 21:26:44 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-363793-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 34005114A29; Sun, 15 Nov 2026 21:26:36 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 7B13E39396; Sun, 15 Nov 2026 18:26:32 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1794767192;
	b=3UHi4Wp25x5HXo24r5B2StZKMwjjdVg68ewGKi5hzL9C/st2gWZBAJfByLqJ0cgWnN7z
	 SV3Ebc28qV/iDPWNq2jIPwVocLPxz4nwGDtacofQDwpEOGe5xFIFkzmvsbI0QkQDHea9V
	 DoubJrUTQI+mKU402wKIxQAzD+o2UEd5WG+r5qx2wXo97mVtk2Xp1bd6yLyvNwS0GhN5g
	 vINFzyYwl7jqPx+DZBGXRxSb3NWz8MjdhRcGkoMGBVqRQ/DhtrllZgfwfpcovrkEKwwKR
	 MENayasQ7HvBVN6uVJQjDukEb7SR3hTXnX+hT7z+qo1zm+9kIgEy7CTwilnPvuScZpA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794767192;
	h=X-Original-To:Received:Received:DKIM-Signature:Date:From:To:Cc:
	 Subject:Message-ID:In-Reply-To:References:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version:Content-Type:Content-Transfer-Encoding;
	bh=eneHgnMAcOc/djCTrB0nOV0g2dEReb07JOlhFtlo25k=;
	b=0WoN6BQ7/KteWHsHk+giItSAL0S4+nzxzUYNsiw5JF1SZ3Q1SWa2CTfTvhVZ00onxHxD
	 n/ePz79hZ5jEovHa7diM6ZIj0Cl0Gs+lWsYJSyQWNHVu9Nwg/5Ezw6wYg9PP08FQS4gS4
	 JZeb7hiR/zk2EfEmJvVkLlibfP76HVZ0EYkZ/OQZ5l6zvwZylP+0UFOKC7dW/baeb92cf
	 +NTXwQ9+vnnWQVdxI6QWr0BAf9zK9bear/lxeZM6j3peg1Vb6v94hYRqpnF6lycJRfz8C
	 Ub05opyAbnHk6BFqy75m7/uJPM9zO+tPlxiYPpqOFT5pFO5WmYHNQ0jjt2fYKbVV6cw==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=FHAShk+4;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id E5F98606A32F;
	Sun, 15 Nov 2026 18:26:31 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=FHAShk+4
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1794767191;
	b=cKFKOvWqdkTNW999Pwo8ZjyzI+Vq274d/5pz1VRVQNvFYwNxpUxoB0TxmrTHWoX2t8j+
	 bbpkFu53vPs7ihOMiLcK0yJuvVqtVnjcxrgFxWWwsRfdEhsaZjFIOcWFlXV7/lo3rfhit
	 U+2rWZ9Rwn5vIEvi+Nnn9QMRD5Q7vcnWKmrGEuIl+1XVAT72Yz/hhpyHH/Ho9jnVu+6SE
	 FRUvy6/gVJ7f6zPV4DBrkOLWL0MYOT6cyiYHWThCuljmVTPYctPJxxhm6AGLYlg6CyMzH
	 6QXOgTRp9G6qUZCwRGOENDNxymdUwozogSkLwZ0WS1P6D6GaBSEfrEL4BjZ8HX8i3yQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794767191;
	h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID:
	 In-Reply-To:References:MIME-Version:Content-Type:
	 Content-Transfer-Encoding;
	bh=eneHgnMAcOc/djCTrB0nOV0g2dEReb07JOlhFtlo25k=;
	b=E7IKhibfPFFPfqRE1h236FhkOc11imbBYv/1JZ1vP72mP3NBtqVlSOGtrvH65ylleOHV
	 OrYfPJZpXt83clGqLjJpKGPmxhsGYc0oSh/lXWakFGv/PSTSDM5KGDS8VpfzFChWAK6jG
	 H452MqkduzUJv3SquqNfyEkP4BC39sbKD9DLtNpTfnxwihITn71/tnK403+qMKkEUof+Y
	 fdmUQMBNdyaIxVUdRgzNJ4/bYKMBdbZa6mP4nh2S+7tiQgomewuonSQe3Q3gXlYfx8OdE
	 cB97HwGle0AC3Ko9YrxGhmUBdVAvKFScva4IJaqYKPRVoAyWcSrBNhHX+2tlPW7vYdA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=FHAShk+4;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0D515606A31D;
	Sun, 15 Nov 2026 18:26:30 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 30F7B1F000C4;
	Sun, 15 Nov 2026 18:26:30 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1794767190;
	bh=eneHgnMAcOc/djCTrB0nOV0g2dEReb07JOlhFtlo25k=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=FHAShk+4mVyHfMAnpqQb+OFmANjbslij+dPs+VKBbPKcwALFWzseYnDCBD+Y0KQnB
	 eZokN67v9HcpcVJzMu7QcL2WCh42NL4Jex13p2ac4N3IIHZLw2O4XSIe/9Kfp/XdvD
	 WXBuKRM3/+YhgaTJjotCcRv5viJktfdeNs8F/zCfTRuaRLdxr8hDrCdz+K0mYCdgB/
	 uEix9WPF/7xr9GTPwHKLwEtWoHho4M2v9+PfaJ8HR8fzuAmpMNJz3uNCmGQGYNHKKB
	 Qk6cs37sqaqI1unCeXDFET6gh6hEjUE+MCU7uUCRV2hHQ9q+VHusvKEf6Qz0/SGvSC
	 PoSu6Qk+5Z31A==
X-Cc: netdev@vger.kernel.org, mst@redhat.com, jasowangio@gmail.com,
 eperezma@redhat.com, xuanzhuo@linux.alibaba.com, andrew+netdev@lunn.ch,
 davem@davemloft.net, edumazet@kernel.org, pabeni@redhat.com,
 horms@kernel.org, virtualization@lists.linux.dev,
 linux-kernel@vger.kernel.org
X-In-Reply-To: <tencent_2A5F8EBA9EC78CA99CD080386A68EE90B506@qq.com>
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list