public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 0/2] sched/fair: Some improvements to feec()
@ 2024-06-24  8:20 Xuewen Yan
  2024-06-24  8:20 ` [PATCH V2 1/2] sched/fair: Prevent cpu_busy_time from exceeding actual_cpu_capacity Xuewen Yan
  2024-06-24  8:20 ` [PATCH V2 2/2] sched/fair: Use actual_cpu_capacity everywhere in util_fits_cpu() Xuewen Yan
  0 siblings, 2 replies; 20+ messages in thread
From: Xuewen Yan @ 2024-06-24  8:20 UTC (permalink / raw)
  To: vincent.guittot, dietmar.eggemann, mingo, peterz, juri.lelli,
	qyousef
  Cc: rostedt, bsegall, mgorman, bristot, vschneid, christian.loehle,
	vincent.donnefort, ke.wang, di.shen, xuewen.yan94, linux-kernel

Patch 1 clamp the util with per-CPU instand of per-PD when calc pd_busy_time.

Patch 2 use actual_cpu_capacity when judging util_fits_cpu to cover the case
which rq-uclamp-max would cause some corner case wrong.

Changelog:
V1:
https://lore.kernel.org/all/20240606070645.3295-1-xuewen.yan@unisoc.com/

v2: 
(1) remove the eenv->pd_cap capping in eenv_pd_busy_time() for patch-1;
(2) change commit-message for patch-1;
(3) add patch 2.

Xuewen Yan (2):
  sched/fair: Prevent cpu_busy_time from exceeding actual_cpu_capacity
  sched/fair: Use actual_cpu_capacity everywhere in util_fits_cpu()

 kernel/sched/fair.c | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2024-07-16 11:56 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-24  8:20 [PATCH V2 0/2] sched/fair: Some improvements to feec() Xuewen Yan
2024-06-24  8:20 ` [PATCH V2 1/2] sched/fair: Prevent cpu_busy_time from exceeding actual_cpu_capacity Xuewen Yan
2024-06-25 13:04   ` Vincent Guittot
2024-06-27  2:02     ` Xuewen Yan
2024-06-27 16:15       ` Vincent Guittot
2024-06-28  1:39         ` Qais Yousef
2024-07-01 12:00         ` Xuewen Yan
2024-07-04 17:01         ` Pierre Gondois
2024-07-05  0:10           ` Qais Yousef
2024-06-24  8:20 ` [PATCH V2 2/2] sched/fair: Use actual_cpu_capacity everywhere in util_fits_cpu() Xuewen Yan
2024-06-25  8:46   ` Vincent Guittot
2024-06-28  1:28   ` Qais Yousef
2024-07-01 12:13     ` Xuewen Yan
2024-07-03 11:46       ` Qais Yousef
2024-07-02 13:25     ` Vincent Guittot
2024-07-03 11:54       ` Qais Yousef
2024-07-03 14:54         ` Vincent Guittot
2024-07-04 23:56           ` Qais Yousef
2024-07-05  6:25             ` Dietmar Eggemann
2024-07-16 11:56             ` Xuewen Yan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox