summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2023-01-23 17:37:13 +0300
committerJens Axboe <axboe@kernel.dk>2023-01-30 01:17:41 +0300
commitc10bb64684813a326174c3eebcafb3ee5af52ca3 (patch)
treecbddc7fbefd26342f9ec9ba77a1c8c9ba3c8a03e /samples
parentf499254474a83bf60191c86de82c1fec1d8eb9f9 (diff)
downloadlinux-c10bb64684813a326174c3eebcafb3ee5af52ca3.tar.xz
io_uring: use user visible tail in io_uring_poll()
We return POLLIN from io_uring_poll() depending on whether there are CQEs for the userspace, and so we should use the user visible tail pointer instead of a transient cached value. Cc: stable@vger.kernel.org Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/228ffcbf30ba98856f66ffdb9a6a60ead1dd96c0.1674484266.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions