| 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
| ||
|
Message-ID: <4DD5B36C.2020407@candelatech.com> Date: Thu, 19 May 2011 17:18:52 -0700 From: Ben Greear <greearb@...delatech.com> To: Eric Dumazet <eric.dumazet@...il.com> CC: David Miller <davem@...emloft.net>, Patrick McHardy <kaber@...sh.net>, netdev <netdev@...r.kernel.org> Subject: Re: [PATCH net-next-2.6] macvlan: remove one synchronize_rcu() call On 05/19/2011 03:24 PM, Eric Dumazet wrote: > When one macvlan device is dismantled, we can avoid one > synchronize_rcu() call done after deletion from hash list, since caller > will perform a synchronize_net() call after its ndo_stop() call. > > Add a new netdev->dismantle field to signal this dismantle intent. I applied this to today's wireless-testing kernel. There is a consistent speedup in deleting mac-vlans! I wouldn't read much into changes in creating macvlans or adding IPs..those numbers just jump around a bit from run to run. Before the patch: [root@...2010-ath9k-1 lanforge]# /mnt/b32/greearb/tmp/test_macvlans.pl 500 macvlan Creating 500 macvlan. Created 500 macvlan in 12.662865 seconds (0.02532573 per interface). Added IP addresses in 9.104435 seconds (0.01820887 per addr). Deleted 500 macvlan in 25.424282 seconds. (0.050848564 per interface) After the patch: [root@...2010-ath9k-1 lanforge]# /mnt/b32/greearb/tmp/test_macvlans.pl 500 macvlan Creating 500 macvlan. Created 500 macvlan in 12.461308 seconds (0.024922616 per interface). Added IP addresses in 8.787694 seconds (0.017575388 per addr). Deleted 500 macvlan in 21.831413 seconds. (0.043662826 per interface) Thanks, Ben -- Ben Greear <greearb@...delatech.com> Candela Technologies Inc http://www.candelatech.com -- 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