Re: [PATCH] cgroup: minor cleanup for cgroup_local_stat_show()

From: Miaohe Lin
Date: Thu Jul 27 2023 - 07:50:18 EST


On 2023/7/26 9:06, Miaohe Lin wrote:
> On 2023/7/26 5:53, Tejun Heo wrote:
>> On Sun, Jul 23, 2023 at 11:19:32AM +0800, Miaohe Lin wrote:
>>> Make it under CONFIG_CGROUP_SCHED to rid of __maybe_unused annotation.
>>> Also put cgroup_tryget_css() inside CONFIG_CGROUP_SCHED as it's only
>>> called when CONFIG_CGROUP_SCHED. No functional change intended.
>>>
>>> Signed-off-by: Miaohe Lin <linmiaohe@xxxxxxxxxx>
>>
>> Patch doesn't apply to cgroup/for-6.6. Can you please respin?
>
> Sure. Will resend the patch based on cgroup/for-6.6.

The commit "sched: add throttled time stat for throttled children" is still in the linux-next tree. So I think I have
to wait for it to be merged into cgroup tree first.

[1] https://lore.kernel.org/all/20230620183247.737942-2-joshdon@xxxxxxxxxx/

Thanks.

>
> Thanks.
>
>