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

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

From: Jesse Gross <hidden>
Date: 2012-08-28 23:00:24

On Sun, Aug 26, 2012 at 9:20 PM, Wei Yongjun [off-list ref] wrote:
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>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help