[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4C8A3430.2070105@6wind.com>
Date: Fri, 10 Sep 2010 15:35:44 +0200
From: Nicolas Dichtel <nicolas.dichtel@...nd.com>
To: netdev <netdev@...r.kernel.org>
Subject: [RFC PATCH] ipv4: release dev refcnt early when destroying inetdev
Hi all,
We got a scalability problem when we try to remove a lot of virtual interfaces.
After analysis, we found that a refcnt on a device was released too late.
Here is a proposal patch. If we are not missing something, the refcnt can be
release before call_rcu(). In IPv6, this is already the case.
Comments are welcome.
Regards,
Nicolas
View attachment "0001-ipv4-release-dev-refcnt-early-when-destroying-inetd.patch" of type "text/x-diff" (1831 bytes)
Powered by blists - more mailing lists