On 9/6/20 10:24 AM, Josef wrote: >> You're using the 'fd' as the file descriptor, for registered files >> you want to use the index instead. Since it's the only fd you >> registered, the index would be 0 and that's what you should use. > > oh..yeah it works, thanks :) Great! >> It's worth mentioning that for 5.10 and on, SQPOLL will no longer >> require registered files. > > that's awesome, it would be really handy as I just implemented a kind > of workaround in netty :) On top of that, capabilities will also be reduced from root to CAP_SYS_NICE instead, and sharing across rings for the SQPOLL thread will be supported. So it'll be a lot more useful/flexible in general. -- Jens Axboe