Re: [PATCH v5 2/5] memcg: flush stats non-atomically in mem_cgroup_wb_stats()

From: Tejun Heo
Date: Fri May 05 2023 - 11:19:18 EST


On Fri, Apr 21, 2023 at 05:40:17PM +0000, Yosry Ahmed wrote:
> The previous patch moved the wb_over_bg_thresh()->mem_cgroup_wb_stats()
> code path in wb_writeback() outside the lock section. We no longer need
> to flush the stats atomically. Flush the stats non-atomically.
>
> Signed-off-by: Yosry Ahmed <yosryahmed@xxxxxxxxxx>
> Reviewed-by: Michal Koutný <mkoutny@xxxxxxxx>
> Acked-by: Shakeel Butt <shakeelb@xxxxxxxxxx>

Acked-by: Tejun Heo <tj@xxxxxxxxxx>

Thanks.

--
tejun