Rework pthread_setschedprio support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest7 patches 0 repliesNew
- v15 patches 1 replySuperseded
Changes in v2 from the cover letter
- account for !CONFIG_XENO_LAZY_SETSCHED in setsched test
- split smokey changes into two patches
- enable lazy-setsched in debian package
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | cobalt/posix/thread: Factor out thread_lookup_or_shadowkernel/ | +26 | 0 replies | |
| 2/7 | cobalt/posix: Add thread_setschedprioinclude/ kernel/ kernel/ +4 more | +80 | 0 replies | |
| 3/7 | lib/cobalt: Use new thread_setschedprio syscalllib/ | +29 | 0 replies | |
| 4/7 | Revert "cobalt/kernel: Introduce __SCHED_CURRENT policy to setschedparam_ex"include/ kernel/ kernel/ | +1 | 0 replies | |
| 5/7 | testsuite/smokey: Fix setsched /wrt lazy scheduling parameter applicationtestsuite/ | +9 | 0 replies | |
| 6/7 | testsuite/smokey: Add pthread_setschedprio to setsched test casetestsuite/ | +21 | 0 replies | |
| 7/7 | debian: Enable lazy-setsched in userspace packagedebian/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/7] Rework pthread_setschedprio support
It turned out just in time that the __CURRENT_SCHED-approach is broken and not reasonably fixable. This introduces a separate syscall for implementing that posix function.
Changes in v2:
- account for !CONFIG_XENO_LAZY_SETSCHED in setsched test
- split smokey changes into two patches
- enable lazy-setsched in debian package
Jan
Jan Kiszka (7):
cobalt/posix/thread: Factor out thread_lookup_or_shadow cobalt/posix: Add thread_setschedprio
lib/cobalt: Use new thread_setschedprio syscall Revert "cobalt/kernel: Introduce __SCHED_CURRENT policy to
setschedparam_ex"
testsuite/smokey: Fix setsched /wrt lazy scheduling parameter
application
testsuite/smokey: Add pthread_setschedprio to setsched test case
debian: Enable lazy-setsched in userspace package
debian/rules | 1 + include/cobalt/uapi/sched.h | 3 - include/cobalt/uapi/syscall.h | 1 + .../arch/x86/include/asm/xenomai/syscall32-table.h | 1 + kernel/cobalt/posix/syscall32.c | 9 +++ kernel/cobalt/posix/syscall32.h | 6 ++ kernel/cobalt/posix/thread.c | 85 ++++++++++++++++------ kernel/cobalt/posix/thread.h | 11 +++ kernel/cobalt/trace/cobalt-posix.h | 18 ++++- lib/cobalt/thread.c | 33 ++++++++- testsuite/smokey/setsched/setsched.c | 31 +++++++- 11 files changed, 167 insertions(+), 32 deletions(-)
Signature · 1 line
2.16.4