[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YtGp318DAmjXrHh3@castle>
Date: Fri, 15 Jul 2022 10:54:39 -0700
From: Roman Gushchin <roman.gushchin@...ux.dev>
To: Michal Koutný <mkoutny@...e.com>
Cc: axboe@...nel.dk, asml.silence@...il.com, fam.zheng@...edance.com,
io-uring@...r.kernel.org, linux-kernel@...r.kernel.org,
usama.arif@...edance.com
Subject: Re: [PATCH] io_uring: Don't require reinitable percpu_ref
On Fri, Jul 15, 2022 at 07:45:01PM +0200, Michal Koutny wrote:
> The commit 8bb649ee1da3 ("io_uring: remove ring quiesce for
> io_uring_register") removed the worklow relying on reinit/resurrection
> of the percpu_ref, hence, initialization with that requested is a relic.
>
> This is based on code review, this causes no real bug (and theoretically
> can't). Technically it's a revert of commit 214828962dea ("io_uring:
> initialize percpu refcounters using PERCU_REF_ALLOW_REINIT") but since
> the flag omission is now justified, I'm not making this a revert.
>
> Fixes: 8bb649ee1da3 ("io_uring: remove ring quiesce for io_uring_register")
> Signed-off-by: Michal Koutný <mkoutny@...e.com>
Acked-by: Roman Gushchin <roman.gushchin@...ux.dev>
Thanks!
Powered by blists - more mailing lists