The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCHSET sched_ext/for-6.16] sched_ext: Unify idle CPU selection kfuncs
@ 2025-05-21  7:34 Andrea Righi
  2025-05-21  7:34 ` [PATCH 1/2] sched_ext: idle: Consolidate default " Andrea Righi
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Andrea Righi @ 2025-05-21  7:34 UTC (permalink / raw)
  To: Tejun Heo, David Vernet, Changwoo Min; +Cc: linux-kernel

As discussed in [1], consolidate scx_bpf_select_cpu_dfl() and
scx_bpf_select_cpu_and(), allowing them to be called from the same contexts
and update the corresponding kselftest to reflect this change.

[1] https://lore.kernel.org/all/aCl1nq0hUJ7IdtC5@gpd3/

Andrea Righi (2):
      sched_ext: idle: Consolidate default idle CPU selection kfuncs
      selftests/sched_ext: Update test enq_select_cpu_fails

 kernel/sched/ext_idle.c                            | 156 ++++++++++-----------
 tools/testing/selftests/sched_ext/Makefile         |   2 +-
 .../selftests/sched_ext/enq_select_cpu.bpf.c       |  74 ++++++++++
 tools/testing/selftests/sched_ext/enq_select_cpu.c |  88 ++++++++++++
 .../selftests/sched_ext/enq_select_cpu_fails.bpf.c |  43 ------
 .../selftests/sched_ext/enq_select_cpu_fails.c     |  61 --------
 6 files changed, 234 insertions(+), 190 deletions(-)
 create mode 100644 tools/testing/selftests/sched_ext/enq_select_cpu.bpf.c
 create mode 100644 tools/testing/selftests/sched_ext/enq_select_cpu.c
 delete mode 100644 tools/testing/selftests/sched_ext/enq_select_cpu_fails.bpf.c
 delete mode 100644 tools/testing/selftests/sched_ext/enq_select_cpu_fails.c

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

end of thread, other threads:[~2025-05-21 17:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-21  7:34 [PATCHSET sched_ext/for-6.16] sched_ext: Unify idle CPU selection kfuncs Andrea Righi
2025-05-21  7:34 ` [PATCH 1/2] sched_ext: idle: Consolidate default " Andrea Righi
2025-05-21  7:34 ` [PATCH 2/2] selftests/sched_ext: Update test enq_select_cpu_fails Andrea Righi
2025-05-21 17:36 ` [PATCHSET sched_ext/for-6.16] sched_ext: Unify idle CPU selection kfuncs Tejun Heo

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