Thread (1 message) 1 message, 1 author, 2016-08-22

Re: [PATCH v2] IB/hfi1: Using kfree_rcu() to simplify the code

From: Doug Ledford <hidden>
Date: 2016-08-22 18:19:37

On 8/10/2016 10:56 AM, Marciniszyn, Mike wrote:
quoted
From: Wei Yongjun [mailto:weiyj.lk-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org]
Subject: [PATCH v2] IB/hfi1: Using kfree_rcu() to simplify the code

The callback function of call_rcu() just calls a kfree(), so we can use
kfree_rcu() instead of call_rcu() + callback function.

Signed-off-by: Wei Yongjun <redacted>
Tested-by: Mike Marciniszyn <redacted>
Acked-by: Mike Marciniszyn <redacted>
Thanks, applied.

-- 
Doug Ledford [off-list ref]
    GPG Key ID: 0E572FDD

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help