On Mon, Sep 13, 2021 at 1:10 PM Tejun Heo <tj@xxxxxxxxxx> wrote: > > On Mon, Sep 13, 2021 at 01:09:11PM -0700, Shakeel Butt wrote: > > Thanks a lot for the explanation. Are there any concerns to call > > cgroup_rstat_flush_irqsafe(root_mem_cgroup->css.cgroup) in system_wq? > > This will be called every 2 seconds, so, we can assume the updated > > tree would be small most of the time. > > I can't think of a reason why this would be problematic. > Thanks again. Feng, is it possible to re-run these benchmarks with queue_work(system_wq) instead of queue_work(system_unbound_wq)?