[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120831.155739.23641263564536162.davem@davemloft.net>
Date: Fri, 31 Aug 2012 15:57:39 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: jesse@...ira.com
Cc: weiyj.lk@...il.com, yongjun_wei@...ndmicro.com.cn,
dev@...nvswitch.org, netdev@...r.kernel.org
Subject: Re: [PATCH] openvswitch: using kfree_rcu() to simplify the code
From: Jesse Gross <jesse@...ira.com>
Date: Tue, 28 Aug 2012 16:00:24 -0700
> On Sun, Aug 26, 2012 at 9:20 PM, Wei Yongjun <weiyj.lk@...il.com> wrote:
>> From: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
>>
>> 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 <yongjun_wei@...ndmicro.com.cn>
>
> Thanks Wei.
>
> Acked-by: Jesse Gross <jesse@...ira.com>
Applied to net-next
--
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