lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201012132254.24267.opurdila@ixiacom.com>
Date:	Mon, 13 Dec 2010 22:54:24 +0200
From:	Octavian Purdila <opurdila@...acom.com>
To:	Stephen Hemminger <shemminger@...tta.com>
Cc:	Eric Dumazet <eric.dumazet@...il.com>, netdev@...r.kernel.org,
	"Lucian Adrian Grijincu" <lucian.grijincu@...il.com>,
	Vlad Dogaru <ddvlad@...edu.org>
Subject: Re: [PATCH net-next-2.6] net: add dev_close_many

From: Stephen Hemminger <shemminger@...tta.com>
Date: Monday 13 December 2010, 20:04:47

> I assume the need for dev_close_many is coming from a user space
> application?
> 
> I expect that for this kind of special need,  you would be better off not
> using the normal iproute utilities and instead have a custom device manager
> that is doing netlink directly.
> 
> Rather than doing synchronous send request and wait for ack. The utility
> could use a sender and collector thread.

Actually we need dev_close_many in order to speed up netdev_unregister_many 
since in the netdev_unregister_many path there is still one more sync-rcu 
operation which is not factorized.

I will prepare v2 to address David's comment and I will also be more explicit 
in the commit message.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ