Sched_ext development
 help / color / mirror / Atom feed
* [PATCH v3 0/3] tools/sched_ext: Add example C schedulers
@ 2026-01-23  3:26 Emil Tsalapatis
  2026-01-23  3:26 ` [PATCH v3 1/3] tools/sched_ext: add scx_userland scheduler Emil Tsalapatis
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Emil Tsalapatis @ 2026-01-23  3:26 UTC (permalink / raw)
  To: sched-ext; +Cc: changwoo, arighi, tj, void, Emil Tsalapatis

Add to the tree several C sched-ext schedulers developed and maintained 
out-of-tree by the sched-ext project over the years. These schedulers 
demonstrate sched-ext's feature set and provide a starting point for 
scheduler development. Place the schedulers together with the existing 
examples in tools/sched_ext.

v2->v3 (https://lore.kernel.org/sched-ext/20260113164818.14305-1-emil@etsalapatis.com/)

- Fix inverted condition in scx_sdt for zeroing out freed memory (AI)

v1->v2 (https://lore.kernel.org/sched-ext/20260112214131.50236-1-emil@etsalapatis.com/

- Remove scx_nest scheduler from patchset (Changwoo, Andrea)

Signed-off-by: Emil Tsalapatis <emil@etsalapatis.com>

Emil Tsalapatis (3):
  tools/sched_ext: add scx_userland scheduler
  tools/sched_ext: add scx_pair scheduler
  tools/sched_ext: add arena based scheduler

 tools/sched_ext/Makefile           |   2 +-
 tools/sched_ext/scx_pair.bpf.c     | 610 +++++++++++++++++++++++++
 tools/sched_ext/scx_pair.c         | 180 ++++++++
 tools/sched_ext/scx_pair.h         |   9 +
 tools/sched_ext/scx_sdt.bpf.c      | 710 +++++++++++++++++++++++++++++
 tools/sched_ext/scx_sdt.c          | 101 ++++
 tools/sched_ext/scx_sdt.h          | 113 +++++
 tools/sched_ext/scx_userland.bpf.c | 344 ++++++++++++++
 tools/sched_ext/scx_userland.c     | 437 ++++++++++++++++++
 tools/sched_ext/scx_userland.h     |  17 +
 10 files changed, 2522 insertions(+), 1 deletion(-)
 create mode 100644 tools/sched_ext/scx_pair.bpf.c
 create mode 100644 tools/sched_ext/scx_pair.c
 create mode 100644 tools/sched_ext/scx_pair.h
 create mode 100644 tools/sched_ext/scx_sdt.bpf.c
 create mode 100644 tools/sched_ext/scx_sdt.c
 create mode 100644 tools/sched_ext/scx_sdt.h
 create mode 100644 tools/sched_ext/scx_userland.bpf.c
 create mode 100644 tools/sched_ext/scx_userland.c
 create mode 100644 tools/sched_ext/scx_userland.h

-- 
2.49.0


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

end of thread, other threads:[~2026-01-28  2:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-23  3:26 [PATCH v3 0/3] tools/sched_ext: Add example C schedulers Emil Tsalapatis
2026-01-23  3:26 ` [PATCH v3 1/3] tools/sched_ext: add scx_userland scheduler Emil Tsalapatis
2026-01-23  3:26 ` [PATCH v3 2/3] tools/sched_ext: add scx_pair scheduler Emil Tsalapatis
2026-01-23  3:26 ` [PATCH v3 3/3] tools/sched_ext: add arena based scheduler Emil Tsalapatis
2026-01-28  2:05   ` Tejun Heo
2026-01-28  2:05 ` [PATCH v3 0/3] tools/sched_ext: Add example C schedulers Tejun Heo

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