aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/route.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2016-08-26 12:50:39 -0700
committerDavid S. Miller <davem@davemloft.net>2016-08-30 22:17:20 -0700
commit41852497a9205964b958a245a9526040b980926f (patch)
treeda16e7cc6a3717afa785961be2fc72c4d70e13e2 /net/ipv4/route.c
parentixgbe: Eliminate useless message and improve logic (diff)
downloadlinux-dev-41852497a9205964b958a245a9526040b980926f.tar.xz
linux-dev-41852497a9205964b958a245a9526040b980926f.zip
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 'net/ipv4/route.c')
0 files changed, 0 insertions, 0 deletions