summaryrefslogtreecommitdiff
path: root/drivers/net/wan
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2020-09-11 00:33:18 +0300
committerDavid S. Miller <davem@davemloft.net>2020-09-15 00:39:00 +0300
commit2de79ee27fdb52626ac4ac48ec6d8d52ba6f9047 (patch)
treee5ab4d5630bb0de1ad741d616d17ef97882bfb9e /drivers/net/wan
parent7b2d1b8d9d3e4e4d30217012357989ee498e789c (diff)
downloadlinux-2de79ee27fdb52626ac4ac48ec6d8d52ba6f9047.tar.xz
net: try to avoid unneeded backlog flush
flush_all_backlogs() may cause deadlock on systems running processes with FIFO scheduling policy. The above is critical in -RT scenarios, where user-space specifically ensure no network activity is scheduled on the CPU running the mentioned FIFO process, but still get stuck. This commit tries to address the problem checking the backlog status on the remote CPUs before scheduling the flush operation. If the backlog is empty, we can skip it. v1 -> v2: - explicitly clear flushed cpu mask - Eric Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wan')
0 files changed, 0 insertions, 0 deletions