summaryrefslogtreecommitdiffstats
path: root/include/trace/events
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-02-23 13:40:22 +0100
committerJens Axboe <axboe@kernel.dk>2021-04-12 01:41:59 +0200
commit6c2450ae55656f6b0370bfd4cb52ec8a4ecd0916 (patch)
tree8e05279baf327e9b85e8cfd47675bada6c32ce2a /include/trace/events
parentio_uring: mask in error/nval/hangup consistently for poll (diff)
downloadlinux-6c2450ae55656f6b0370bfd4cb52ec8a4ecd0916.tar.xz
linux-6c2450ae55656f6b0370bfd4cb52ec8a4ecd0916.zip
io_uring: allocate memory for overflowed CQEs
Instead of using a request itself for overflowed CQE stashing, allocate a separate entry. The disadvantage is that the allocation may fail and it will be accounted as lost (see rings->cq_overflow), so we lose reliability in case of memory pressure if the application is driving the CQ ring into overflow. However, it opens a way for for multiple CQEs per an SQE and even generating SQE-less CQEs. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> [axboe: use GFP_ATOMIC | __GFP_ACCOUNT] Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/trace/events')
0 files changed, 0 insertions, 0 deletions