diff options
| author | 2020-08-20 11:34:10 +0300 | |
|---|---|---|
| committer | 2020-08-20 05:36:17 -0600 | |
| commit | f261c16861b82951bd2125706660ce4602930563 (patch) | |
| tree | e29535552e257ac2733a0c44866ce6c29f0d0cba /tools/scripts/ssh:/git@git.zx2c4.com/git: | |
| parent | io_uring: fix racy req->flags modification (diff) | |
| download | linux-dev-f261c16861b82951bd2125706660ce4602930563.tar.xz linux-dev-f261c16861b82951bd2125706660ce4602930563.zip | |
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>
Diffstat (limited to 'tools/scripts/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
