Re: [PATCH v2 net-next-2.6] veth: use batched device unregister

Eric Dumazet
2011-05-09T09:22:58Z

Le lundi 09 mai 2011 à 09:45 +0200, Eric Dumazet a écrit :
> veth devices dont use the batched device unregisters yet.
>
> Since veth are a pair of devices, it makes sense to use a batch of two
> unregisters, this roughly divide dismantle time by two.
>
> Reported-by: Alex Bligh <alex@alex.org.uk>
> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
> Cc: Jesse Gross <jesse@nicira.com>
> Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
> Cc: Ben Greear <greearb@candelatech.com>
> ---
> v2: added a list_del(&list) for safety (see commit ceaaec98)

Just to make things clear, please dont apply this patch, since I posted
another version including Michał idea.

thanks