Thread (53 messages) 53 messages, 8 authors, 2011-05-10

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

From: Eric Dumazet <hidden>
Date: 2011-05-09 09:22:58

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help