Thread (5 messages) 5 messages, 5 authors, 2026-01-27

Re: [PATCH net-next] net: alacritech: Use u64_stats_t with u64_stats_sync properly

From: Jakub Kicinski <kuba@kernel.org>
Date: 2026-01-25 23:23:25
Also in: lkml

On Fri, 23 Jan 2026 02:51:07 +0800 David Yang wrote:
On 64bit arches, struct u64_stats_sync is empty and provides no help
against load/store tearing. Convert to u64_stats_t to ensure atomic
operations.
Eric, could you comment if this matters? I expect David may send a
non-trivial number of these, I want to make sure we're making good
use of everyone's time here. 64b accesses are not torn on 64b arches,
and never used for control flow.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help