2020-06-24 16:56:12

by Pavel Begunkov

[permalink] [raw]
Subject: [PATCH 0/3] iopoll fixes

Did more comprehensive iopoll testing and found some more problems.

[1] is from the previous series. Actually, v2 for this one, addressing
the double-reissue bug found by Jens. It maybe not as efficient, but
simple and easy to backport.

[2,3] current->mm NULL deref

Pavel Begunkov (3):
io_uring: fix hanging iopoll in case of -EAGAIN
io_uring: fix current->mm NULL dereference on exit
io_uring: fix NULL-mm for linked reqs

fs/io_uring.c | 33 ++++++++++++++++++++++-----------
1 file changed, 22 insertions(+), 11 deletions(-)

--
2.24.0


2020-06-24 17:06:08

by Pavel Begunkov

[permalink] [raw]
Subject: Re: [PATCH 0/3] iopoll fixes

On 24/06/2020 19:50, Pavel Begunkov wrote:
> Did more comprehensive iopoll testing and found some more problems.
>
> [1] is from the previous series. Actually, v2 for this one, addressing
> the double-reissue bug found by Jens. It maybe not as efficient, but
> simple and easy to backport.
>
> [2,3] current->mm NULL deref

And yet there are issues left... I'll resend

>
> Pavel Begunkov (3):
> io_uring: fix hanging iopoll in case of -EAGAIN
> io_uring: fix current->mm NULL dereference on exit
> io_uring: fix NULL-mm for linked reqs
>
> fs/io_uring.c | 33 ++++++++++++++++++++++-----------
> 1 file changed, 22 insertions(+), 11 deletions(-)
>

--
Pavel Begunkov

2020-06-24 19:47:59

by Jens Axboe

[permalink] [raw]
Subject: Re: [PATCH 0/3] iopoll fixes

On 6/24/20 11:03 AM, Pavel Begunkov wrote:
> On 24/06/2020 19:50, Pavel Begunkov wrote:
>> Did more comprehensive iopoll testing and found some more problems.
>>
>> [1] is from the previous series. Actually, v2 for this one, addressing
>> the double-reissue bug found by Jens. It maybe not as efficient, but
>> simple and easy to backport.
>>
>> [2,3] current->mm NULL deref
>
> And yet there are issues left... I'll resend

Can you also please have them separated in terms of what's for 5.8 and
what's for 5.9?

--
Jens Axboe