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

From: Andrew Lunn

Date: Mon Sep 07 2026 - 16:08:41 EST


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@xxxxxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew