Skip to content

sched/umcg: RFC UMCG patchset

Peter Oskolkov linux-api lkml oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 22 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4sched/umcg: add WF_CURRENT_CPU and externise ttwukernel/sched/core.c kernel/sched/fair.c kernel/sched/sched.h+14 -80 replies
2/4sched/umcg: RFC: add userspace atomic helperskernel/sched/umcg.h+312 -018 replies
3/4sched/umcg: RFC: implement UMCG syscallsarch/x86/entry/syscalls/syscall_64.tbl include/linux/sched.h include/linux/syscalls.h +9 more+801 -32 replies
4/4sched/umcg: add Documentation/userspace-api/umcg.rstDocumentation/userspace-api/umcg.rst+546 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4 v0.5] sched/umcg: RFC UMCG patchset

This is an update on v0.4:
https://lore.kernel.org/lkml/[email protected]/

Key changes:

v0.3 => v0.4:
- made idle workers list logic simpler
- only one idle server tracking
- removed two fields from struct umcg_task
- added timeout handling
- added worker preemption
- added a doc patch that now documents the syscalls and state transitions.

v0.4 => v0.5:
- refactored idle workers list management, as suggested by Thierry Delisle here:
https://lore.kernel.org/lkml/[email protected]/

I will now clean up libumcg (userspace) and selftests and post them in a follow-up patchset.

Peter Oskolkov (4):
sched/umcg: add WF_CURRENT_CPU and externise ttwu sched/umcg: RFC: add userspace atomic helpers sched/umcg: RFC: implement UMCG syscalls sched/umcg: add Documentation/userspace-api/umcg.rst

 Documentation/userspace-api/umcg.rst   | 546 ++++++++++++++++++++++
 arch/x86/entry/syscalls/syscall_64.tbl |   2 +
 include/linux/sched.h                  |   6 +
 include/linux/syscalls.h               |   4 +
 include/uapi/asm-generic/unistd.h      |   8 +-
 include/uapi/linux/umcg.h              | 114 +++++
 init/Kconfig                           |  10 +
 kernel/exit.c                          |   7 +
 kernel/sched/Makefile                  |   1 +
 kernel/sched/core.c                    |  20 +-
 kernel/sched/fair.c                    |   4 +
 kernel/sched/sched.h                   |  15 +-
 kernel/sched/umcg.c                    | 618 +++++++++++++++++++++++++
 kernel/sched/umcg.h                    | 325 +++++++++++++
 kernel/sys_ni.c                        |   4 +
 15 files changed, 1673 insertions(+), 11 deletions(-)
 create mode 100644 Documentation/userspace-api/umcg.rst
 create mode 100644 include/uapi/linux/umcg.h
 create mode 100644 kernel/sched/umcg.c
 create mode 100644 kernel/sched/umcg.h

--
2.25.1