aboutsummaryrefslogtreecommitdiffstats
path: root/.cocciconfig
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2019-03-22 16:01:55 +0100
committerDavid S. Miller <davem@davemloft.net>2019-03-23 21:52:36 -0400
commit28cff537ef2eed9307bc7e4e40745075637bec56 (patch)
tree19e12fe1c09bd817cae2410b5dd0b68ff6c21e43 /.cocciconfig
parenttcp: add documentation for tcp_ca_state (diff)
downloadlinux-dev-28cff537ef2eed9307bc7e4e40745075637bec56.tar.xz
linux-dev-28cff537ef2eed9307bc7e4e40745075637bec56.zip
net: sched: add empty status flag for NOLOCK qdisc
The queue is marked not empty after acquiring the seqlock, and it's up to the NOLOCK qdisc clearing such flag on dequeue. Since the empty status lays on the same cache-line of the seqlock, it's always hot on cache during the updates. This makes the empty flag update a little bit loosy. Given the lack of synchronization between enqueue and dequeue, this is unavoidable. v2 -> v3: - qdisc_is_empty() has a const argument (Eric) v1 -> v2: - use really an 'empty' flag instead of 'not_empty', as suggested by Eric Signed-off-by: Paolo Abeni <pabeni@redhat.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Ivan Vecera <ivecera@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions