Skip to content
Commit f09c8643 authored by Hao Xu's avatar Hao Xu Committed by Jens Axboe
Browse files

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: default avatarHao Xu <howeyxu@tencent.com>
Link: https://lore.kernel.org/r/20220617050429.94293-1-hao.xu@linux.dev


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