linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] sched/fair: fixes in presence of lot of sched_idle tasks
@ 2022-08-25 12:27 Vincent Guittot
  2022-08-25 12:27 ` [PATCH 1/4] sched/fair: make sure to try to detach at least one movable task Vincent Guittot
                   ` (3 more replies)
  0 siblings, 4 replies; 21+ messages in thread
From: Vincent Guittot @ 2022-08-25 12:27 UTC (permalink / raw)
  To: mingo, peterz, juri.lelli, dietmar.eggemann, rostedt, bsegall,
	mgorman, bristot, vschneid, linux-kernel
  Cc: zhangqiao22, Vincent Guittot

This patchset gathers somes cleanups but also improvements and fixes for
scheduling UCs that involved a lot of sched_idle tasks. In such case, the
sched_idle tasks impact significantly the behavior of other tasks whereas
they should not. These patches don't impact other "normal" UCs.

 have foudn these changes while studying Zhang's problem [1] but AFAICT,
 these patches don't fix his problem.

[1] https://lore.kernel.org/lkml/20220810015636.3865248-1-zhangsong34@huawei.com/

Vincent Guittot (4):
  sched/fair: make sure to try to detach at least one movable task
  sched/fair: cleanup loop_max and loop_break
  sched/fair: move call to list_last_entry() in detach_tasks
  sched/fair: limit sched slice duration

 kernel/sched/core.c  |  6 +-----
 kernel/sched/fair.c  | 29 +++++++++++++++++------------
 kernel/sched/sched.h |  6 ++++++
 3 files changed, 24 insertions(+), 17 deletions(-)

-- 
2.17.1


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

end of thread, other threads:[~2024-03-22 19:49 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-25 12:27 [PATCH 0/4] sched/fair: fixes in presence of lot of sched_idle tasks Vincent Guittot
2022-08-25 12:27 ` [PATCH 1/4] sched/fair: make sure to try to detach at least one movable task Vincent Guittot
2022-09-12  8:44   ` Dietmar Eggemann
2022-09-13  8:54     ` Vincent Guittot
2022-09-15 14:24   ` [tip: sched/core] sched/fair: Make " tip-bot2 for Vincent Guittot
2024-02-12 20:28   ` [PATCH 1/4] sched/fair: make " Josh Don
2024-03-20 16:57     ` Vincent Guittot
2024-03-21 20:25       ` Josh Don
2024-03-22 17:16         ` Vincent Guittot
2024-03-22 19:49           ` Josh Don
2022-08-25 12:27 ` [PATCH 2/4] sched/fair: cleanup loop_max and loop_break Vincent Guittot
2022-09-12  8:45   ` Dietmar Eggemann
2022-09-13  8:37     ` Vincent Guittot
2022-09-15 14:24   ` [tip: sched/core] sched/fair: Cleanup " tip-bot2 for Vincent Guittot
2022-08-25 12:27 ` [PATCH 3/4] sched/fair: move call to list_last_entry() in detach_tasks Vincent Guittot
2022-09-12  8:46   ` Dietmar Eggemann
2022-09-15 14:24   ` [tip: sched/core] sched/fair: Move " tip-bot2 for Vincent Guittot
2022-08-25 12:27 ` [PATCH 4/4] sched/fair: limit sched slice duration Vincent Guittot
2022-09-09 11:14   ` Peter Zijlstra
2022-09-09 14:03     ` Vincent Guittot
2022-09-09 15:05       ` Vincent Guittot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).