[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101216.140417.229760449.davem@davemloft.net>
Date: Thu, 16 Dec 2010 14:04:17 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: opurdila@...acom.com
Cc: netdev@...r.kernel.org, lucian.grijincu@...il.com,
ddvlad@...edu.org
Subject: Re: [PATCH net-next-2.6 v3] net: factorize sync-rcu call in
unregister_netdevice_many
From: Octavian Purdila <opurdila@...acom.com>
Date: Tue, 14 Dec 2010 00:44:07 +0200
> Add dev_close_many and dev_deactivate_many to factorize another
> sync-rcu operation on the netdevice unregister path.
>
> $ modprobe dummy numdummies=10000
> $ ip link set dev dummy* up
> $ time rmmod dummy
>
> Without the patch With the patch
>
> real 0m 24.63s real 0m 5.15s
> user 0m 0.00s user 0m 0.00s
> sys 0m 6.05s sys 0m 5.14s
>
> Signed-off-by: Octavian Purdila <opurdila@...acom.com>
I'll apply this, thanks Octavian.
--
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