Thread (2 messages) 2 messages, 2 authors, 2021-12-13

Re: [PATCH net-next] u64_stats: Disable preemption on 32bit UP+SMP PREEMPT_RT during updates.

flat view

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-12-13 12:50:18
Also in: lkml

Hello:

This patch was applied to netdev/net-next.git (master)
by David S. Miller [off-list ref]:

On Fri, 10 Dec 2021 21:29:59 +0100 you wrote:
On PREEMPT_RT the seqcount_t for synchronisation is required on 32bit
architectures even on UP because the softirq (and the threaded IRQ handler) can
be preempted.

With the seqcount_t for synchronisation, a reader with higher priority can
preempt the writer and then spin endlessly in read_seqcount_begin() while the
writer can't make progress.

[...]
Here is the summary with links:
  - [net-next] u64_stats: Disable preemption on 32bit UP+SMP PREEMPT_RT during updates.
    https://git.kernel.org/netdev/net-next/c/3c118547f87e

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

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