On 6/21/22 5:00 PM, Pavel Begunkov wrote: > Several poll and apoll fixes for 5.19. I don't know if problems in 2-3 > were occuring prior to "io_uring: poll rework", but let's at least > back port it to that point. > > I'll also be sending another clean up series for 5.20. Looks good to me, a few comments in the patches. As mentioned privately, I think we should write a dummy char driver that allows us to exercise all types of poll (single, poll, pollfree, etc) and be able to trigger the error paths with it too. I'll give that a shot. We can probably just make it a debugfs file or something like that, and have it be configurable too as a debug option for test purposes. -- Jens Axboe