summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2016-08-26 22:50:39 +0300
committerDavid S. Miller <davem@davemloft.net>2016-08-31 08:17:20 +0300
commit41852497a9205964b958a245a9526040b980926f (patch)
treeda16e7cc6a3717afa785961be2fc72c4d70e13e2 /include
parentae3cb8cb20c87c0833a54360344ad4ee77bdb184 (diff)
downloadlinux-41852497a9205964b958a245a9526040b980926f.tar.xz
net: batch calls to flush_all_backlogs()
After commit 145dd5f9c88f ("net: flush the softnet backlog in process context"), we can easily batch calls to flush_all_backlogs() for all devices processed in rollback_registered_many() Tested: Before patch, on an idle host. modprobe dummy numdummies=10000 perf stat -e context-switches -a rmmod dummy Performance counter stats for 'system wide': 1,211,798 context-switches 1.302137465 seconds time elapsed After patch: perf stat -e context-switches -a rmmod dummy Performance counter stats for 'system wide': 225,523 context-switches 0.721623566 seconds time elapsed Signed-off-by: Eric Dumazet <edumazet@google.com> Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions