Thread (15 messages) flat view 15 messages, 3 authors, 2021-10-21

Re: [PATCH net-next 2/2] net: sched: remove one pair of atomic operations

From: Eric Dumazet <edumazet@google.com>
Date: 2021-10-21 16:25:43

On Thu, Oct 21, 2021 at 9:23 AM Eric Dumazet [off-list ref] wrote:
From: Eric Dumazet <edumazet@google.com>

__QDISC_STATE_RUNNING is only set/cleared from contexts owning qdisc lock.

Thus we can use less expensive bit operations, as we were doing
before commit f9eb8aea2a1e ("net_sched: transform qdisc running bit into a seqcount")

Fixes: 29cbcd858283 ("net: sched: Remove Qdisc::running sequence counter")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Ahmed S. Darwish <redacted>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---

Please disregard, I have accidentally resent this patch while sending
another unrelated patch series.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help