Re: [PATCH 1/1] io_uring: fix refcounting with OOM
From: Jens Axboe
Date: Sat Jan 25 2020 - 11:46:54 EST
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.
--
Jens Axboe