Skip to content

Fix issues around setsched on remote threads

Jan Kiszka xenomai 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6cobalt/posix: Harden cobalt_thread_shadow against invalid requestskernel/cobalt/posix/thread.c+3 -00 replies
2/6cobalt/posix: Avoid mapping remote threads in cobalt_sched_setscheduler_exkernel/cobalt/posix/sched.c+1 -10 replies
3/6cobalt/posix: Remove task parameter from cobalt_thread_shadowkernel/cobalt/posix/sched.c kernel/cobalt/posix/thread.c kernel/cobalt/posix/thread.h+6 -80 replies
4/6lib/cobalt: Avoid requesting shadowing for remote threadslib/cobalt/thread.c+5 -20 replies
5/6lib/cobalt: Pass setsched requests for unknown threads to glibclib/cobalt/sched.c lib/cobalt/thread.c+21 -00 replies
6/6cobalt: Fix error code of cobalt_thread_setschedparam_exkernel/cobalt/posix/thread.c lib/cobalt/thread.c+2 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [Xenomai] [PATCH 0/6] Fix issues around setsched on remote threads

This addresses http://xenomai.org/pipermail/xenomai/2018-July/039267.html.

The last patch of the series may not be a stable candidate as it changes some return code of the kernel. The rest should go, though.

Jan

Jan Kiszka (6):
cobalt/posix: Harden cobalt_thread_shadow against invalid requests cobalt/posix: Avoid mapping remote threads in
cobalt_sched_setscheduler_ex
cobalt/posix: Remove task parameter from cobalt_thread_shadow lib/cobalt: Avoid requesting shadowing for remote threads lib/cobalt: Pass setsched requests for unknown threads to glibc
cobalt: Fix error code of cobalt_thread_setschedparam_ex

 kernel/cobalt/posix/sched.c  |  4 ++--
 kernel/cobalt/posix/thread.c | 14 ++++++++------
 kernel/cobalt/posix/thread.h |  3 +--
 lib/cobalt/sched.c           | 10 ++++++++++
 lib/cobalt/thread.c          | 18 ++++++++++++++++--
 5 files changed, 37 insertions(+), 12 deletions(-)
Signature · 1 line
2.16.4