On 11/20/24 4:33 PM, Pavel Begunkov wrote: > The classical way SQ/CQ work is kernel doing the allocation > and the user mmap'ing it into the userspace. Regions need to > support it as well. > > The patchset should be straightforward with simple preparations > patches and cleanups. The main part is Patch 10, which internally > implements kernel allocations, and Patch 11 that implementing the > mmap part and exposes it to reg-wait / parameter region users. > > I'll be sending liburing tests in a separate set. Additionally > tested converting CQ/SQ to internal region api, but this change > is left for later. Took a quick look and I like it, agree that regions should be broadly usable rather than be tied to pinning. I'll give this a more thorough look in the coming days. -- Jens Axboe