On Thu, 16 Jun 2022 10:21:56 +0100, Pavel Begunkov wrote: > 1-4 kills REQ_F_COMPLETE_INLINE as we're out of bits. > > Patch 5 from Hao should remove some overhead from poll requests > > Patch 6 from Hao adds per-bucket spinlocks, and 16-19 do a little > bit of cleanup. The downside of per-bucket spinlocks is that it adds > additional spinlock/unlock pair in the poll request completion side, > which shouldn't matter much with 20/25. > > [...] Applied, thanks! [01/16] io_uring: rw: delegate sync completions to core io_uring commit: 45bfddb605aebe5298b054553ac8daa04bd73c67 [02/16] io_uring: kill REQ_F_COMPLETE_INLINE commit: c2399c806444c54c8414f2196e43ea22843e51a5 [03/16] io_uring: refactor io_req_task_complete() commit: a74ba63b8d9ed12fc06d6e122a94ebb53e8ae126 [04/16] io_uring: don't inline io_put_kbuf commit: 8fffc6537fb8d7e4e8901b0ca982396999c89c09 [05/16] io_uring: poll: remove unnecessary req->ref set commit: 0e769a4667807d1bb249b4bcd9cc6ac6cbdea3ab [06/16] io_uring: switch cancel_hash to use per entry spinlock commit: 6c41fff4b73e393107a867c3259a7ce38e3d7137 [07/16] io_uring: pass poll_find lock back commit: 4488b60bf5d73e69c6e17f6296f71ab19f290fae [08/16] io_uring: clean up io_try_cancel commit: 034c5701e192e9521dae1a60c295a3dea8bd9f07 [09/16] io_uring: limit the number of cancellation buckets commit: 8a0089110740eb78bb6592b12b73c15096cc5b41 [10/16] io_uring: clean up io_ring_ctx_alloc commit: 8797b59e7bd7463775690a0ee0de4c2121e39a90 [11/16] io_uring: use state completion infra for poll reqs commit: 60ad0a221eb26eb7c3babb000c9fe05f5f3f9231 [12/16] io_uring: add IORING_SETUP_SINGLE_ISSUER commit: d2fbea05a52db51e1939fe3f99fdc5086ff093c4 [13/16] io_uring: pass hash table into poll_find commit: fbd91877aac264a470b666fbd88a8a31d202993e [14/16] io_uring: introduce a struct for hash table commit: 1aa9e1ce9887505ea87aa86128c1e0960e85e9dd [15/16] io_uring: propagate locking state to poll cancel commit: 3f301363931da831687160817f4b31fad89b50de [16/16] io_uring: mutex locked poll hashing commit: 154d61b44e7eee3b5db68d65d9cb7403c9f58e71 Best regards, -- Jens Axboe