From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] openvswitch: using kfree_rcu() to simplify the code Date: Fri, 31 Aug 2012 15:57:39 -0400 (EDT) Message-ID: <20120831.155739.23641263564536162.davem@davemloft.net> References: Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: weiyj.lk@gmail.com, yongjun_wei@trendmicro.com.cn, dev@openvswitch.org, netdev@vger.kernel.org To: jesse@nicira.com Return-path: Received: from shards.monkeyblade.net ([149.20.54.216]:53019 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754932Ab2HaT5l (ORCPT ); Fri, 31 Aug 2012 15:57:41 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: From: Jesse Gross Date: Tue, 28 Aug 2012 16:00:24 -0700 > On Sun, Aug 26, 2012 at 9:20 PM, Wei Yongjun wrote: >> From: Wei Yongjun >> >> The callback function of call_rcu() just calls a kfree(), so we >> can use kfree_rcu() instead of call_rcu() + callback function. >> >> spatch with a semantic match is used to found this problem. >> (http://coccinelle.lip6.fr/) >> >> Signed-off-by: Wei Yongjun > > Thanks Wei. > > Acked-by: Jesse Gross Applied to net-next