Re: [PATCH 2/2] memcg: periodically flush the memcg stats

From: Shakeel Butt
Date: Sat Jun 05 2021 - 00:46:47 EST


On Fri, Jun 4, 2021 at 7:33 PM Tejun Heo <tj@xxxxxxxxxx> wrote:
>
> On Sat, Jun 05, 2021 at 09:54:21AM +0800, Hillf Danton wrote:
> > The cond_resched() in cgroup_rstat_flush_locked() matches its appearence in
> > your post [1]. So does unbound IMHO.
>
> Ah yeah, this either needs CPU_INTENSIVE or UNBOUND, prolly the latter is
> better.
>

I will change the next version to the system_unbound_wq.