Skip to content

Fix races in thread relaxation

Jan Kiszka xenomai 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3cobalt: Move relax related lostage_wakeup work from stack to threadinclude/cobalt/kernel/thread.h kernel/cobalt/thread.c+11 -107 replies
2/3cobalt: Drop obsolete pipeline_inband_work abstractioninclude/cobalt/kernel/dovetail/pipeline/inband_work.h include/cobalt/kernel/rtdm/driver.h include/cobalt/kernel/thread.h +4 more+33 -740 replies
3/3cobalt/posix/process: Sync on thread-hosted irq_work items before exitingkernel/cobalt/posix/process.c+5 -00 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchFlorian Bezdeka
SeriesT-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Fix races in thread relaxation

This should resolve the issue reported in [1] and also clean up a bit more of our now obsolete pipeline abstraction. Test case is planned for later.

Jan

[1] https://lore.kernel.org/xenomai/[email protected]/T/#t

Jan Kiszka (3):
cobalt: Move relax related lostage_wakeup work from stack to thread
cobalt: Drop obsolete pipeline_inband_work abstraction cobalt/posix/process: Sync on thread-hosted irq_work items before
exiting

 .../kernel/dovetail/pipeline/inband_work.h    | 28 ----------------
 include/cobalt/kernel/rtdm/driver.h           |  9 +++--
 include/cobalt/kernel/thread.h                | 10 ++++--
 kernel/cobalt/posix/process.c                 |  5 +++
 kernel/cobalt/rtdm/drvlib.c                   | 15 +++------
 kernel/cobalt/rtdm/fd.c                       | 13 +++-----
 kernel/cobalt/thread.c                        | 33 +++++++------------
 kernel/drivers/udd/udd.c                      | 12 +++----
 8 files changed, 45 insertions(+), 80 deletions(-)
 delete mode 100644 include/cobalt/kernel/dovetail/pipeline/inband_work.h
Signature · 1 line
2.43.0