Re: [PATCH 1/1] io_uring: fix refcounting with OOM

From: Pavel Begunkov
Date: Sat Jan 25 2020 - 14:28:46 EST


On 25/01/2020 19:46, Jens Axboe wrote:
> On 1/25/20 1:59 AM, Pavel Begunkov wrote:
>> In case of out of memory the second argument of percpu_ref_put_many() in
>> io_submit_sqes() may evaluate into "nr - (-EAGAIN)", that is clearly
>> wrong.
>
> Can you reorder this one before your series, I haven't had time
> to take a look at that yet and I don't think this bug fix should
> depend on it.
>
Sure.

--
Pavel Begunkov

Attachment: signature.asc
Description: OpenPGP digital signature