Thread (2 messages) flat view 2 messages, 2 authors, 2012-08-31

Re: [PATCH] openvswitch: using kfree_rcu() to simplify the code

From: David Miller <davem@davemloft.net>
Date: 2012-08-31 19:57:41

From: Jesse Gross <redacted>
Date: Tue, 28 Aug 2012 16:00:24 -0700
On Sun, Aug 26, 2012 at 9:20 PM, Wei Yongjun [off-list ref] wrote:
quoted
From: Wei Yongjun <redacted>

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 <redacted>
Thanks Wei.

Acked-by: Jesse Gross <redacted>
Applied to net-next
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help