Thread (13 messages) flat view 13 messages, 2 authors, 7d ago

Re: [PATCH net-next v2 4/6] net: dsa: motorcomm: Use u64_stats_t for MIB stats

From: Andrew Lunn <andrew@lunn.ch>
Date: 2026-09-07 20:02:18
Also in: lkml

On Sat, Sep 05, 2026 at 12:29:46AM +0800, David Yang wrote:
64-bit variables might not be atomic on 32-bit architectures, and could
lead to load/store tearing.

This is a verbatim change that replace every u64 statistics into
u64_stats_t. u64_stats_sync will be equipped in the next commit.

Signed-off-by: David Yang <mmyangfl@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help