Patch #1 makes it easier to support a fool proof assignment of the shared SQPOLL data structure, instead of doing it after the fact. Would also enable some cleanups around the fd install. Patch #2 enables an application to wait on SQ ring consumption if using SQPOLL, instead of having to use busy polling for that part. This can help provide the necessary backpressure when using SQPOLL. -- Jens Axboe