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] [day] [month] [year] [list]
Date:	Sat, 21 Mar 2015 22:36:37 -0400 (EDT)
From:	David Miller <davem@...emloft.net>
To:	maze@...gle.com
Cc:	maheshb@...gle.com, j.vosburgh@...il.com, andy@...yhouse.net,
	vfalico@...il.com, nikolay@...hat.com, netdev@...r.kernel.org,
	edumazet@...gle.com
Subject: Re: [PATCH net-next v2 0/4] bonding work-queues, try_rtnl() &
 notifications

From: Maciej Żenczykowski <maze@...gle.com>
Date: Sat, 21 Mar 2015 19:23:51 -0700

>> Someone has to do the work, and if the rtnl-owner does it we do not
>> incur all of the overhead the resubmission entails.
> 
> Are you suggesting:
> - adding a global queue of (function pointer, long arg)
> - changing rtnl_unlock to iterate through the queue calling
> function(arg) before it actually releases the rtnl lock
> ?

Something like that.

> I guess at that point you could even have a generic method
> 
> void asynch_call_under_rtnl(function, arg) {
>   rtnl_callback_add_to_queue(function,arg)
>   if (rtnl_try_lock())
>     rtnl_unlock();
> }

Right.
--
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