summaryrefslogtreecommitdiffstats
path: root/io_uring/rsrc.c
diff options
context:
space:
mode:
authorHao Xu <howeyxu@tencent.com>2022-06-17 13:04:29 +0800
committerJens Axboe <axboe@kernel.dk>2022-07-24 18:39:14 -0600
commitf09c8643f0fad0e287b9f737955276000fd76a5d (patch)
treed968fe6a0471e999ccfe624763e6bca1eb750c8b /io_uring/rsrc.c
parent9ca9fb24d5febccea354089c41f96a8ad0d853f8 (diff)
downloadlinux-f09c8643f0fad0e287b9f737955276000fd76a5d.tar.gz
linux-f09c8643f0fad0e287b9f737955276000fd76a5d.tar.bz2
linux-f09c8643f0fad0e287b9f737955276000fd76a5d.zip
io_uring: kbuf: add comments for some tricky code
Add comments to explain why it is always under uring lock when incrementing head in __io_kbuf_recycle. And rectify one comemnt about kbuf consuming in iowq case. Signed-off-by: Hao Xu <howeyxu@tencent.com> Link: https://lore.kernel.org/r/20220617050429.94293-1-hao.xu@linux.dev Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/rsrc.c')
0 files changed, 0 insertions, 0 deletions