Here's v2 of the shared wq backend patchset. A few minor changes in terms of id validation, and a switch to using idr and also utilizing it for lookups. Changes since v1: - Use idr instead of ida, and use it for lookups too - Rename IORING_SETUP_SHARED to IORING_SETUP_ATTACH_WQ - Don't allow id specified without IORING_SETUP_ATTACH_WQ - Use id=0 if we run out of idr space instead of failing - id==0 is not allowed for attach -- Jens Axboe