All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/8] allocated requests based drain and fixes
@ 2025-05-09 11:12 Pavel Begunkov
  2025-05-09 11:12 ` [PATCH v2 1/8] io_uring: account drain memory to cgroup Pavel Begunkov
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: Pavel Begunkov @ 2025-05-09 11:12 UTC (permalink / raw)
  To: io-uring; +Cc: asml.silence

Patches 1-7 are fixes and preparations. Patch 8 implements
draining based on the number of allocated requests, which
is simpler and remove cq_extra accounting overhead. 

v2: fix executing still drained reqs on spurious calls to
    io_queue_deferred() (Patch 2)

    Only clear ->drain_active after flushing, if a non drain
    request got flushed.

Pavel Begunkov (8):
  io_uring: account drain memory to cgroup
  io_uring: fix spurious drain flushing
  io_uring: simplify drain ret passing
  io_uring: remove drain prealloc checks
  io_uring: consolidate drain seq checking
  io_uring: open code io_account_cq_overflow()
  io_uring: count allocated requests
  io_uring: drain based on allocates reqs

 include/linux/io_uring_types.h |   3 +-
 io_uring/io_uring.c            | 137 ++++++++++++++-------------------
 io_uring/io_uring.h            |   3 +-
 3 files changed, 62 insertions(+), 81 deletions(-)

-- 
2.49.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-05-13 13:34 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-09 11:12 [PATCH v2 0/8] allocated requests based drain and fixes Pavel Begunkov
2025-05-09 11:12 ` [PATCH v2 1/8] io_uring: account drain memory to cgroup Pavel Begunkov
2025-05-09 11:12 ` [PATCH v2 2/8] io_uring: fix spurious drain flushing Pavel Begunkov
2025-05-09 11:12 ` [PATCH v2 3/8] io_uring: simplify drain ret passing Pavel Begunkov
2025-05-09 11:12 ` [PATCH v2 4/8] io_uring: remove drain prealloc checks Pavel Begunkov
2025-05-09 11:12 ` [PATCH v2 5/8] io_uring: consolidate drain seq checking Pavel Begunkov
2025-05-09 11:12 ` [PATCH v2 6/8] io_uring: open code io_account_cq_overflow() Pavel Begunkov
2025-05-09 11:12 ` [PATCH v2 7/8] io_uring: count allocated requests Pavel Begunkov
2025-05-09 11:12 ` [PATCH v2 8/8] io_uring: drain based on allocates reqs Pavel Begunkov
2025-05-13 10:37   ` Andy Shevchenko
2025-05-13 13:35     ` Pavel Begunkov
2025-05-09 14:02 ` [PATCH v2 0/8] allocated requests based drain and fixes Jens Axboe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.