🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #13953

Re: [PATCH net-next 2/2] net: dsa: user: document the write memory barrier on LAG conduit migration

#13953
From: Andrew Lunn
Date: Tue, 10 Nov 2026 14:36
13 lines
8588 bytes
> [Severity: Medium]
> Can the wmb() in this position give the ordering the new comment
> describes?

Please consider which is better: No comment, or a wrong comment.

If you are adding comments, you need to be 100% sure they are correct.
wmb() and the like are not simple. Do you really understand what is
going on here? If you do, please respond to the LLM indicating how it
is wrong.

   Andrew
Technical Details
Message-ID: <5e7d676a-9c02-409b-9312-57bae6c0be63@lunn.ch>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-360329-linux-kernel-netdev=dewy.ru
References: <20261109120607.344544-3-kuangkai@kylinos.cn> <179431548491.994134.1097968032701195124@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-360329-linux-kernel-netdev=dewy.ru
From: andrew@lunn.ch (Andrew Lunn)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next 2/2] net: dsa: user: document the write memory
 barrier on LAG conduit migration
Date: Tue, 10 Nov 2026 15:36:22 +0100
Organization: Usenet Network
Message-ID: <5e7d676a-9c02-409b-9312-57bae6c0be63@lunn.ch>
References: <20261109120607.344544-3-kuangkai@kylinos.cn>
 <179431548491.994134.1097968032701195124@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="628557"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:poh7GeSD9e/qpmQ6iwy6/Qk0gB4= sha256:/n0aYnYluEFz9t5rh3k0G5OzOl3NL5aZ+Y1gS/KqHv0=
	sha1:hqJZyHZSsq/TIMvQudLjUZ+GzTg= sha256:jo6BTHS6yqXjMKfd4WMCR0mieKx/v5AdOOHMj7alTKE=
Content-Disposition: inline
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 9E105113BE5; Tue, 10 Nov 2026 17:39:19 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.151
X-Spam-Status: No, score=-3.151 tagged_above=-9999 required=6.31
	tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
	HEADER_FROM_DIFFERENT_DOMAINS=0.249, 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 (1024-bit key)
	header.d=lunn.ch
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 jZ1oFkoXYNKg;
	Tue, 10 Nov 2026 17:39:16 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-360329-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lunn.ch
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id 58239113BCF; Tue, 10 Nov 2026 17:39:07 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sto.lore.kernel.org (Postfix) with ESMTP id AFC616211FE; Tue, 10 Nov 2026 14:36:52 +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=1794321406;
	b=I8yz9VwNy1c/Mjk0keEVakA+0t+9HjYVKt9JwLLPf68sGFsZTk96Ax9NF9hi+BGe0IaF
	 C2I4wi+06Rad8aSnXbYebDPA3ktAv7+qNrm7+AhldowOyFTeK+sGBiCVUzFZOZ/tDjNZe
	 3TuyGYGLlBa6CnZlJx0D2jfBk68OVAQLKkc84xHIFhvnOSrHWYCM84lGRMvV8mImZLZDN
	 7aWq1B1/srazfAhlD7wxZ4RD/QipS2+cboj1cgfqwn6tSOz/TNXz4zxL4qeCsQ1OuoIJ3
	 85ISaHVyW06ds8sq81uBXJZRvQiNDpUR7tAhFHvrLwPVPGfaSw3+u7anzxrElonaI2Q==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794321406;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Date:
	 From:To:Cc:Subject:Message-ID:References:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=oEHOu7Uiw00HdqEly/gqNHY0gfh2SsyPf6lrcfakVD4=;
	b=vvG04tN+st0TZirtqdwLzkL7Oe+GJC+/BWmgK0bg70JCmQgmBehscylTtJMZICNYpy9Y
	 A3Vm+AaOuBlnipw/Tbl+7QfP4hBaxmqbV3YjfUviUJwmVkhozUjBY2PGhC+kDfQlyOeTg
	 9kJy7Y2CEyOLR0/grKQTRjNxVgiJQjOO+xPGrB/XL+Kpcbnmk6F2o6oWIMhHrrf1gX2Yh
	 3fCICeMgQ3+bCF0fVRODKDXNpzi3tS/gM309whdLe0r+INoKmp6FxY7sisEnI33VhDAhq
	 rLNW9E6PlYkSUAkXwcHtrEoY+TwCF5Z6+uHX4KqzNGCL5tYRWMtCmjTBavjHAoyIhdw==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=rrv5jKyC;
	dmarc=pass header.from=lunn.ch;
	spf=pass smtp.mailfrom=lunn.ch;
	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 7A8C860A2601;
	Tue, 10 Nov 2026 14:36:46 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=rrv5jKyC
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=156.67.10.101
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1794321395;
	b=vNTndBgCpwq/BFEO+tZJNMnFz2zySIkUzUZEAh47yM+9NmIxIGQLIRcYV2Asb9UPc4M+
	 Jy5tnLTwAZhlIPXPxfJY4mEDIHWT0otqs2+lZ9I42W3CiSnOX1zoG4JinH+5JqMb19ClN
	 cCXHtaxNfeYSpgZ02AYYbgTO/IG1lTDhDO1NJT16QEotRYtkUT+q7sPUk6kSmpZI6jZMp
	 Bh3BuToq3aMOuJVufe8Q78dSGDZ0QEIeJJwXD2EChKx/Rw91cCZqxdUHfGyEwE7htjiS3
	 BhRGbzq2iSTECrbmnlVBsx45VXeUJET/LFZnl4wBVn1dk/tRHSRJGm5LVpnFo7Zx8gA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794321395;
	h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject:
	 Message-ID:References:MIME-Version:Content-Type:Content-Disposition:
	 In-Reply-To;
	bh=oEHOu7Uiw00HdqEly/gqNHY0gfh2SsyPf6lrcfakVD4=;
	b=hhQUiA0cI99QvX/6gjBCl7qFYZojt2WJzLLpiMgNjvGXp6B7qDq3OCXpZfszt4wJwZwX
	 pUXTkPdqDhPPL0/jeo/Adu2irHiG4mjHo1oXpglZ4LyIQm/8HVJ7g60Mi3+qqr/L/ptRM
	 Ur7mUAkUvViBbrZ2z0I0PrltYfWJ6cAHY+8uSSPFIEipXpn5E7Ftv7DHCNK+dX2PqnUXZ
	 +E5WomAV1HLakMAJpxgOigNV7QMMrql0c0AkLK+7xXtXe1zfv07hoyXcy8bGmfSigL8ti
	 abnmSg3SUqo3KXnFFwlo3FSRDAErz14KCIzueRhlPZer+yuBsHcw3g7lHcaLAcov1Wg==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=lunn.ch;
	spf=pass smtp.mailfrom=lunn.ch;
	dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=rrv5jKyC;
	arc=none smtp.remote-ip=156.67.10.101
X-Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4F5E8606A31C;
	Tue, 10 Nov 2026 14:36:35 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 4F5E8606A31C
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch
X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch;
	s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version:
	References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject:
	Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:
	Content-ID:Content-Description:Content-Disposition:In-Reply-To:References;
	bh=oEHOu7Uiw00HdqEly/gqNHY0gfh2SsyPf6lrcfakVD4=; b=rrv5jKyCH+FkL0BClHQEwfqS8H
	C/DbaWhUDX+x71dULa7QnpdokGoEjRaUKgzUHZZI0wuHRxZ0FQObHv0X5BKDUIyejQBMnjphha8eP
	0+kPjynmZWQCg/E0r0OZo0NxePr7gxlygWegKwygPNjIhkRRDfUUOMiJUZxL7VWGjyjw=;
X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2)
	(envelope-from <andrew@lunn.ch>)
	id 1xQmxS-00FVJG-Ro; Tue, 10 Nov 2026 15:36:22 +0100
X-Cc: kuangkai@kylinos.cn, netdev@vger.kernel.org, olteanv@gmail.com,
	davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org,
	pabeni@redhat.com, horms@kernel.org, linux-kernel@vger.kernel.org
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
X-In-Reply-To: <179431548491.994134.1097968032701195124@kernel.org>