[PATCH net-next 0/4] batch calls to fib_flush and arp_ifdown

2016-02-01 Thread Salam Noureddine
fib_flush walks the whole fib in a net_namespace and is called for each net_device being closed or unregistered. This can be very expensive when dealing with 100k or more routes in the fib and removal of a lot of interfaces. These four patches deal with this issue by calling fib_flush just once for

Re: [PATCH net-next 0/4] batch calls to fib_flush and arp_ifdown

2016-01-04 Thread Salam Noureddine
On Mon, Jan 4, 2016 at 4:35 PM, Eric W. Biederman wrote: > Two things would be very valuable with this patchset. > > Some numbers on how much your changes have improved the code in the case > you care about. I suspect the improvements are not subtle so this > should not be hard. > > Can you plea

Re: [PATCH net-next 0/4] batch calls to fib_flush and arp_ifdown

2016-01-04 Thread Eric W. Biederman
Salam Noureddine writes: > fib_flush walks the whole fib in a net_namespace and is called for > each net_device being closed or unregistered. This can be very expensive > when dealing with 100k or more routes in the fib and removal of a lot > of interfaces. These four patches deal with this issue

[PATCH net-next 0/4] batch calls to fib_flush and arp_ifdown

2016-01-04 Thread Salam Noureddine
fib_flush walks the whole fib in a net_namespace and is called for each net_device being closed or unregistered. This can be very expensive when dealing with 100k or more routes in the fib and removal of a lot of interfaces. These four patches deal with this issue by calling fib_flush just once for