[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAEP_g=_9PYpQQbu-1eH7uF-Dk1+LbOfW1GAS6v6=Vu-8hq42yg@mail.gmail.com>
Date: Tue, 28 Aug 2012 16:00:24 -0700
From: Jesse Gross <jesse@...ira.com>
To: Wei Yongjun <weiyj.lk@...il.com>
Cc: davem@...emloft.net, yongjun_wei@...ndmicro.com.cn,
dev@...nvswitch.org, netdev@...r.kernel.org
Subject: Re: [PATCH] openvswitch: using kfree_rcu() to simplify the code
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>
--
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