public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC][PATCH 0/3] sched/ext: Cleanup pick_task_scx()
@ 2025-10-06 10:46 Peter Zijlstra
  2025-10-06 10:46 ` [RFC][PATCH 1/3] sched: Detect per-class runqueue changes Peter Zijlstra
                   ` (4 more replies)
  0 siblings, 5 replies; 23+ messages in thread
From: Peter Zijlstra @ 2025-10-06 10:46 UTC (permalink / raw)
  To: tj
  Cc: linux-kernel, peterz, mingo, juri.lelli, vincent.guittot,
	dietmar.eggemann, rostedt, bsegall, mgorman, vschneid, longman,
	hannes, mkoutny, void, arighi, changwoo, cgroups, sched-ext,
	liuwenfang, tglx

Hi,

So I had a poke at 'give @rf to pick_task() and fold balance_scx() into
pick_task_scx()' option to see how terrible it was. Turns out, not terrible at
all.

I've ran the sched_ext selftest and stress-ng --race-sched 0 thing with various
scx_* thingies on.

These patches were done on top of the 'sched_change' patches posted just now:

  https://lkml.kernel.org/r/20251006104402.946760805@infradead.org

The combined set is also available here:

  git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/cleanup-pick


---
 include/linux/sched.h    |  7 ++---
 kernel/sched/core.c      | 50 ++++++++++++++++-------------
 kernel/sched/deadline.c  | 10 +++---
 kernel/sched/ext.c       | 82 +++++++++---------------------------------------
 kernel/sched/fair.c      | 23 +++++++-------
 kernel/sched/idle.c      |  4 ++-
 kernel/sched/rt.c        |  4 ++-
 kernel/sched/sched.h     | 21 ++++++++++---
 kernel/sched/stop_task.c |  4 ++-
 9 files changed, 87 insertions(+), 118 deletions(-)



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

end of thread, other threads:[~2025-10-16  9:33 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-06 10:46 [RFC][PATCH 0/3] sched/ext: Cleanup pick_task_scx() Peter Zijlstra
2025-10-06 10:46 ` [RFC][PATCH 1/3] sched: Detect per-class runqueue changes Peter Zijlstra
2025-10-07 10:08   ` Juri Lelli
2025-10-07 10:16     ` Peter Zijlstra
2025-10-07 10:26       ` Juri Lelli
2025-10-16  9:33   ` [tip: sched/core] " tip-bot2 for Peter Zijlstra
2025-10-06 10:46 ` [RFC][PATCH 2/3] sched: Add support to pick functions to take rf Peter Zijlstra
2025-10-08 13:16   ` Vincent Guittot
2025-10-08 13:58     ` Peter Zijlstra
2025-10-08 15:22       ` Vincent Guittot
2025-10-08 20:34         ` Tejun Heo
2025-10-09  7:17           ` Vincent Guittot
2025-10-13 11:04             ` Peter Zijlstra
2025-10-13 11:09               ` Peter Zijlstra
2025-10-13 13:06                 ` Vincent Guittot
2025-10-13 17:20                   ` Tejun Heo
2025-10-16  9:33   ` [tip: sched/core] " tip-bot2 for Joel Fernandes
2025-10-06 10:46 ` [RFC][PATCH 3/3] sched/ext: Fold balance_scx() into pick_task_scx() Peter Zijlstra
2025-10-16  9:33   ` [tip: sched/core] " tip-bot2 for Peter Zijlstra
2025-10-07 12:40 ` [RFC][PATCH 0/3] sched/ext: Cleanup pick_task_scx() Christian Loehle
2025-10-07 21:48 ` Tejun Heo
2025-10-08  9:11   ` Peter Zijlstra
2025-10-08 20:21     ` Tejun Heo

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