commit | f261c16861b82951bd2125706660ce4602930563 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Thu Aug 20 11:34:10 2020 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Aug 20 05:36:17 2020 -0600 |
tree | e29535552e257ac2733a0c44866ce6c29f0d0cba | |
parent | bb175342aa64e6c6f1d04f5235502121d6ff0247 [diff] |
io_uring: comment on kfree(iovec) checks kfree() handles NULL pointers well, but io_{read,write}() checks it because of performance reasons. Leave a comment there for those who are tempted to patch it. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>