commit | 364b05fd06e87e53dc03396f73afeac48d8e0998 | [log] [tgz] |
---|---|---|
author | YueHaibing <yuehaibing@huawei.com> | Sat Nov 02 15:55:01 2019 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Sat Nov 02 07:59:46 2019 -0600 |
tree | 68110326f71e94ce9d966e238edf91cbe1c6a092 | |
parent | 0069fc6b1cf28de3a3890ed7c87a5b8ab79ca528 [diff] |
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: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>