Re: [PATCH v2] sched/fair: Fix non-empty throttled_limbo_list warning in tg_throttle_down()

From: Hao Jia

Date: Tue Oct 28 2025 - 03:31:53 EST




On 2025/10/27 20:02, Aaron Lu wrote:

*
+ * THROTTLE - invoke in throttle_cfs_rq_work() to ensure task dequeue
+ * during throttling, and in tg_unthrottle_up() to ensure
+ * task enqueue during unthrottling.

Thanks for adding the comment for dequeue_throttle. One nit is:
dequeue_throttle is used for time accounting purpose so it would be
better if you can make that clear, maybe something like this:

invoked in throttle_cfs_rq_work() during throttle for accounting
purpose, and in tg_unthrottle_up() to avoid throttling when enqueuing
tasks.

Thanks, will do it.

Thanks,
Hao