K Prateek Nayak
253edcf543
sched/fair: Use throttled_csd_list for local unthrottle
...
When distribute_cfs_runtime() encounters a local cfs_rq, it adds it to a
local list and unthrottles it at the end, when it is done unthrottling
other cfs_rq(s) on cfs_b->throttled_cfs_rq until the bandwidth runs out.
Instead of using a local list, reuse the local CPU's
rq->throttled_csd_list and the __cfsb_csd_unthrottle() path for
unthrottle.
If this is the first cfs_rq to be queued on the "throttled_csd_list", it
prevents the need for a remote CPUs to interrupt this local CPU if they
themselves are performing async unthrottle.
If this is not the first cfs_rq on the list, there is an async unthrottle
operation pending on this local CPU and the unthrottle can be batched
together.
No functional changes intended.
Signed-off-by: K Prateek Nayak <kprateek.nayak@amd.com >
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org >
Reviewed-by: Benjamin Segall <bsegall@google.com >
Tested-by: Aaron Lu <ziqianlu@bytedance.com >
Link: https://patch.msgid.link/20260602050005.11160-3-kprateek.nayak@amd.com
2026-06-02 12:26:12 +02:00
..
2026-04-17 15:58:22 -07:00
2026-04-27 16:51:27 -07:00
2026-02-23 11:18:48 -08:00
2026-04-21 16:41:54 +01:00
2026-04-18 11:29:14 -07:00
2026-04-14 16:48:56 -07:00
2026-04-15 12:59:16 -07:00
2026-04-29 08:56:40 +02:00
2026-02-21 20:03:00 -08:00
2026-04-02 23:03:29 +02:00
2026-02-26 09:54:08 -08:00
2026-02-21 17:09:51 -08:00
2026-04-27 05:54:23 -07:00
2026-06-02 12:26:09 +02:00
2026-04-04 00:04:48 +00:00
2026-04-10 12:37:27 +02:00
2026-04-20 13:42:01 +02:00
2026-04-13 09:36:45 -07:00
2026-06-02 12:26:12 +02:00
2026-04-16 21:22:04 +02:00
2026-05-19 12:17:35 +02:00
2026-02-21 20:03:00 -08:00
2025-06-24 20:30:37 +09:00
2026-04-13 14:20:11 -07:00
2026-02-21 17:09:51 -08:00
2026-03-06 14:31:26 +01:00
2026-02-21 17:09:51 -08:00
2026-03-06 14:31:26 +01:00
2026-03-10 15:22:43 -04:00
2026-03-06 14:31:26 +01:00
2026-03-05 22:16:08 -05:00
2026-03-06 14:31:26 +01:00
2025-12-03 16:53:19 +01:00
2025-07-31 18:23:53 -07:00
2026-01-01 16:39:46 +08:00
2025-11-14 10:01:52 +01:00
2026-02-17 09:46:03 -08:00
2025-09-13 17:32:55 -07:00
2026-03-27 21:19:46 -07:00
2026-04-02 23:36:24 -07:00
2026-03-27 21:19:46 -07:00
2026-01-06 20:52:57 -05:00
2026-02-08 00:13:32 -08:00
2026-05-19 12:18:01 +02:00
2026-02-21 17:09:51 -08:00
2026-06-02 12:26:07 +02:00
2025-10-30 20:10:27 +01:00
2025-08-06 10:23:36 +09:00
2026-02-21 01:02:28 -08:00
2026-03-27 21:19:40 -07:00
2026-03-26 08:28:49 -04:00
2026-03-16 13:16:48 +01:00
2026-01-22 15:58:22 -07:00
2026-02-21 17:09:51 -08:00
2026-02-12 12:13:01 -08:00
2025-11-27 14:24:33 -08:00
2026-01-08 12:43:57 +01:00
2026-02-21 17:09:51 -08:00
2026-03-27 21:19:46 -07:00
2026-01-31 16:16:07 -08:00
2025-08-02 12:01:38 -07:00
2026-02-21 17:09:51 -08:00
2026-03-13 23:15:26 +09:00
2025-11-27 15:44:53 +01:00
2026-04-03 19:39:52 +02:00
2026-02-26 10:45:49 +01:00
2026-01-05 16:43:34 +01:00
2026-03-24 21:42:37 +00:00
2026-02-27 22:00:08 +01:00
2026-04-14 19:59:25 -07:00
2026-02-27 22:00:11 +01:00
2026-03-22 11:17:59 +09:00
2026-03-27 21:19:33 -07:00
2026-03-18 21:43:18 +00:00
2026-03-20 14:44:26 +01:00
2026-04-16 20:11:56 -07:00
2026-03-11 23:14:02 +01:00
2026-02-21 01:02:28 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-03-27 10:19:08 -05:00
2026-05-06 17:40:27 +02:00
2026-02-21 17:09:51 -08:00
2025-11-12 10:00:13 -08:00
2026-02-21 17:09:51 -08:00
2026-04-16 20:11:56 -07:00
2026-04-17 09:43:12 -07:00
2025-06-13 08:47:20 +02:00
2026-02-27 16:40:13 +01:00
2026-02-21 17:09:51 -08:00
2026-05-19 12:17:37 +02:00
2026-01-22 11:11:17 +01:00
2026-04-04 18:40:58 -06:00
2026-03-26 09:32:19 +01:00
2025-10-29 10:29:54 +01:00
2026-04-15 02:15:02 -07:00
2026-03-30 15:48:14 -04:00
2026-04-14 05:17:02 -04:00
2026-01-26 19:07:13 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 01:02:28 -08:00
2026-02-22 08:26:33 -08:00
2025-11-11 10:01:32 +01:00
2025-09-29 11:20:29 -07:00
2026-02-21 17:09:51 -08:00
2026-04-16 20:11:56 -07:00
2026-02-21 17:09:51 -08:00
2026-03-27 21:19:47 -07:00
2026-02-08 00:13:35 -08:00
2026-03-27 21:19:47 -07:00
2026-03-05 07:27:48 -10:00
2026-05-19 12:17:37 +02:00