[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <696e49fe-3d2e-da6c-2fc6-5d69bc7a60f9@kernel.dk>
Date: Mon, 7 Feb 2022 06:46:46 -0700
From: Jens Axboe <axboe@...nel.dk>
To: Usama Arif <usama.arif@...edance.com>, io-uring@...r.kernel.org,
asml.silence@...il.com, linux-kernel@...r.kernel.org
Cc: fam.zheng@...edance.com, lkp@...ts.01.org, lkp@...el.com,
kernel test robot <oliver.sang@...el.com>
Subject: Re: [PATCH] io_uring: unregister eventfd while holding lock when
freeing ring ctx
On 2/7/22 3:50 AM, Usama Arif wrote:
> This is because ctx->io_ev_fd is rcu_dereference_protected using
> ctx->uring_lock in io_eventfd_unregister. Not locking the function
> resulted in suspicious RCU usage reported by kernel test robot.
I'll fold this in with the change, thanks.
--
Jens Axboe
Powered by blists - more mailing lists