[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aXIDyPMOvU1fEYDs@krikkit>
Date: Thu, 22 Jan 2026 12:02:32 +0100
From: Sabrina Dubroca <sd@...asysnail.net>
To: Ido Schimmel <idosch@...dia.com>
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()
2026-01-22, 10:00:43 +0200, Ido Schimmel wrote:
> 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.
Ok, thanks. So those (and a few more similar things in drivers/net)
should also be switched to this new helper.
--
Sabrina
Powered by blists - more mailing lists