Re: [PATCH] cgroup: rstat: optimize flush through speculative test

From: Shakeel Butt
Date: Mon Oct 04 2021 - 14:35:28 EST


On Mon, Oct 4, 2021 at 11:21 AM Tejun Heo <tj@xxxxxxxxxx> wrote:
>
>
[...]
> What do you think about that approach? While the proposed patch looks fine,
> it kinda bothers me that it's a very partial optimization - ie. if flush
> frequency is high enough for this to matter, that for_each_possible_cpu()
> scanning loop really isn't appropriate.
>

Makes sense. I will take a stab at that.