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 <redacted>
Signed-off-by: Eric Dumazet <redacted>
Cc: Jesse Gross <redacted>
Cc: Paul E. McKenney <redacted>
Cc: Ben Greear <redacted>
---
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