[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110512.174712.228493075378622339.davem@davemloft.net>
Date: Thu, 12 May 2011 17:47:12 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: kaber@...sh.net, greearb@...delatech.com, netdev@...r.kernel.org,
paulmck@...ux.vnet.ibm.com
Subject: Re: [PATCH net-next-2.6] garp: remove last synchronize_rcu() call
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Thu, 12 May 2011 15:29:17 +0200
> [PATCH net-next-2.6] garp: remove last synchronize_rcu() call
>
> When removing last vlan from a device, garp_uninit_applicant() calls
> synchronize_rcu() to make sure no user can still manipulate struct
> garp_applicant before we free it.
>
> Use call_rcu() instead, as a step to further net_device dismantle
> optimizations.
>
> Add the temporary garp_cleanup_module() function to make sure no pending
> call_rcu() are left at module unload time [ this will be removed when
> kfree_rcu() is available ]
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Looks good, applied, thanks Eric.
--
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