Thread (5 messages) 5 messages, 3 authors, 2026-01-26

Re: [PATCH net-next v2 2/2] net: airoha: Use u64_stats_t with u64_stats_sync properly

From: Jakub Kicinski <kuba@kernel.org>
Date: 2026-01-26 00:35:12
Also in: linux-arm-kernel, linux-mediatek, lkml

On Mon, 26 Jan 2026 06:07:50 +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.
The driver takes a spin lock over the very expensive series
of register reads and then drops out to copy the just read
values? Just move the readers under the spinlock?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help