On 8/24/20 2:40 PM, Pavel Begunkov wrote: > On 24/08/2020 23:35, Pavel Begunkov wrote: >> do_exit() first drops current->mm and then runs task_work, from where >> io_sq_thread_acquire_mm() would try to set mm for a user dying process. > > This is a backport of [1] + [2] for 5.8. Let's wait to see if > Roman Gershman can test it. > > [1] 8eb06d7e8dd85 ("io_uring: fix missing ->mm on exit") > [2] cbcf72148da4a ("io_uring: return locked and pinned page accounting") Yes, would be great if we could test. And provide an email, too :-) Once that's settled, I'll shove this to 5.8-stable. -- Jens Axboe