[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260122080043.GA547381@shredder>
Date: Thu, 22 Jan 2026 10:00:43 +0200
From: Ido Schimmel <idosch@...dia.com>
To: Sabrina Dubroca <sd@...asysnail.net>
Cc: David Yang <mmyangfl@...il.com>, netdev@...r.kernel.org,
Andrew Lunn <andrew+netdev@...n.ch>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Nikolay Aleksandrov <razor@...ckwall.org>,
Simon Horman <horms@...nel.org>, Mark Bloch <mbloch@...dia.com>,
Petr Machata <petrm@...dia.com>,
Stanislav Fomichev <sdf@...ichev.me>,
Carolina Jubran <cjubran@...dia.com>,
Breno Leitao <leitao@...ian.org>,
Shigeru Yoshida <syoshida@...hat.com>, linux-kernel@...r.kernel.org,
bridge@...ts.linux.dev
Subject: Re: [PATCH net-next 0/4] u64_stats: Introduce u64_stats_copy()
On Wed, Jan 21, 2026 at 06:21:05PM +0100, Sabrina Dubroca wrote:
> No direct instances using memcpy, but do we need to also full structs
> copied within a u64_stats_fetch_begin/u64_stats_fetch_retry loop?
My understanding is that we cannot rely on the compiler to perform the
copy in any particular way. With the suggested helper it is at least
clear how the copy is done.
Powered by blists - more mailing lists