Re: [PATCH net-next 0/4] u64_stats: Introduce u64_stats_copy()

Ido Schimmel <[email protected]>
Newsgroups gmane.linux.network.bridge
Message-ID <20260122080043.GA547381__14218.0251584918$1769069628$gmane$org@shredder>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.