Re: [PATCH] sched/cgroup: Lock optimize for cgroup cpu throttle
From: Sebastian Andrzej Siewior
Date: Tue Aug 19 2025 - 09:11:04 EST
On 2025-08-11 23:13:16 [+0800], Xin Zhao wrote:
> Dear Sebastian,
>
> I believe what you mentioned is related to the same issue that Valentin
> brought up later, which is the current solution of "delaying CPU throttling
> through the task_work mechanism until returning to user mode."
> My colleagues and I indeed noticed this from the beginning. However, on our
> 6.1.134 RT-Linux system, we have tried new versions of this solution one by
> one, but they have all failed during basic script tests, so none have reached
> the stage of being used in our project. I see that this modification has been
> promoted in the community for more than two years, yet it remains in a state
> that doesn't work well (on our 6.1.134 RT-Linux system). I wonder if the
> changes require too many considerations or if this modification simply isn't
> suitable for running on RT-Linux. Our project cannot afford to wait, and
> there are many performance issues in RT-Linux.
You are free to use the patch.
Based on your description I assume that the patch Valentin referenced
will solve your problem. If not, it will be interesting to know why it
is not working. Otherwise you keep maintaining your patch.
> Thanks
> Xin Zhao
Sebastian