Skip to content
Commit 364b05fd authored by YueHaibing's avatar YueHaibing Committed by Jens Axboe
Browse files

io-wq: use kfree_rcu() to simplify the code



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

Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 0069fc6b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment