Messages in this thread | | | Date | Tue, 11 Oct 2022 07:01:20 -1000 | From | Tejun Heo <> | Subject | Re: [PATCH -next 5/5] blk-iocost: read 'ioc->params' inside 'ioc->lock' in ioc_timer_fn() |
| |
On Tue, Oct 11, 2022 at 04:35:47PM +0800, Yu Kuai wrote: > From: Yu Kuai <yukuai3@huawei.com> > > 'ioc->params' is updated in ioc_refresh_params(), which is proteced by > 'ioc->lock', however, ioc_timer_fn() read params outside the lock. > > Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Acked-by: Tejun Heo <tj@kernel.org>
Thanks.
-- tejun
| |