From: Peter Oskolkov <posk@posk.io>
To: Peter Zijlstra <peterz@infradead.org>,
Ingo Molnar <mingo@redhat.com>,
Thomas Gleixner <tglx@linutronix.de>,
linux-kernel@vger.kernel.org, linux-api@vger.kernel.org
Cc: Paul Turner <pjt@google.com>, Ben Segall <bsegall@google.com>,
Peter Oskolkov <posk@google.com>, Peter Oskolkov <posk@posk.io>,
Andrei Vagin <avagin@google.com>, Jann Horn <jannh@google.com>,
Thierry Delisle <tdelisle@uwaterloo.ca>
Subject: [PATCH 0/4 v0.5] sched/umcg: RFC UMCG patchset
Date: Wed, 8 Sep 2021 11:49:01 -0700 [thread overview]
Message-ID: <20210908184905.163787-1-posk@google.com> (raw)
This is an update on v0.4:
https://lore.kernel.org/lkml/20210801200617.623745-1-posk@google.com/
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/3530714d-125b-e0f5-45b2-72695e2fc4ee@uwaterloo.ca/
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
next reply other threads:[~2021-09-08 18:49 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-08 18:49 Peter Oskolkov [this message]
2021-09-08 18:49 ` [PATCH 1/4 v0.5] sched/umcg: add WF_CURRENT_CPU and externise ttwu Peter Oskolkov
2021-09-08 18:49 ` [PATCH 2/4 v0.5] sched/umcg: RFC: add userspace atomic helpers Peter Oskolkov
2021-09-08 23:38 ` Jann Horn
2021-09-09 1:16 ` Jann Horn
2021-09-09 19:06 ` Peter Oskolkov
2021-09-09 21:20 ` Jann Horn
2021-09-09 22:09 ` Peter Oskolkov
2021-09-09 23:13 ` Jann Horn
2021-09-14 16:52 ` Andy Lutomirski
2021-09-14 18:11 ` Peter Zijlstra
2021-09-14 18:40 ` Andy Lutomirski
2021-09-15 15:42 ` Peter Zijlstra
2021-09-15 16:50 ` Andy Lutomirski
2021-09-15 19:10 ` Peter Zijlstra
2021-09-14 8:07 ` Peter Zijlstra
2021-09-14 16:29 ` Peter Oskolkov
2021-09-14 18:04 ` Peter Zijlstra
2021-09-14 18:15 ` Peter Zijlstra
2021-09-14 18:29 ` Peter Oskolkov
2021-09-14 18:48 ` Peter Oskolkov
2021-09-08 18:49 ` [PATCH 3/4 v0.5] sched/umcg: RFC: implement UMCG syscalls Peter Oskolkov
2021-09-08 22:02 ` kernel test robot
2021-09-09 1:39 ` Jann Horn
2021-09-14 16:51 ` Peter Oskolkov
2021-09-09 11:25 ` kernel test robot
2021-09-08 18:49 ` [PATCH 4/4 v0.5] sched/umcg: add Documentation/userspace-api/umcg.rst Peter Oskolkov
2021-09-14 16:35 ` Tao Zhou
2021-09-14 16:57 ` Peter Oskolkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210908184905.163787-1-posk@google.com \
--to=posk@posk.io \
--cc=avagin@google.com \
--cc=bsegall@google.com \
--cc=jannh@google.com \
--cc=linux-api@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=pjt@google.com \
--cc=posk@google.com \
--cc=tdelisle@uwaterloo.ca \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.