| Commit message (Collapse) | Author | Age |
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
bin/base_mt_task.c
bin/rt_launch.c
bin/rtspin.c
include/litmus.h
src/litmus.c
src/task.c
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The sproadic_*() macros have become unwieldy. This patch
replaces those convenience macros for global, clustered,
and partitioned scheduling. A part of this API change
is the explicit use of nanosecond time-values. Prior APIs
have used lt_t (litmus time), which had an implied time
scale of nanoseconds.
/bin apps and test suite also updated to use revised API.
Modifications to the test suite are mostly centered around
using nanoseconds instead of milliseconds.
|
| |
| |
| |
| |
| | |
Adds init_rt_task_param(). Facilitates setting up default
real-time task attributes that cannot be set by memset(0).
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch adds cluster scheduling options to
rtspin and rt_launch. The convenience routines
in litmus.h were also updated to facilitate
clustered scheduling. For partitioned scheduling,
just set cluster_size = 1 (default size for rtspin
and rt_launch).
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch replaces be_migrate_to() with several
be_migrate_*() APIs to automatically assign CPU affinity
masks from a task's partition (or cluster) assignment.
Routines are release-master-aware such that the release
master (if one exists) will NOT be included in the
task's affinity mask. (Note that release-master
avoidance may be overridden by calling
__be_migrate_thread_to_cluster().)
|
|\|
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
Makefile
bin/rt_launch.c
bin/rtspin.c
src/task.c
|
| |
| |
| |
| |
| |
| | |
This is useful for testing locking protocol implementations (not
intended for benchmarking!), and also serves to document how to use
the LITMUS^RT locking API.
|
| | |
|
|\|
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
Makefile
bin/rtspin.c
include/litmus.h
src/litmus.c
|
| |
| |
| |
| |
| |
| |
| |
| | |
Updated APIs to support arbitrary deadlines. Added macros for implicit
deadlines.
Note: Had to tweak Makefile to support gcc version >= 4.6 (moved -lrt to the
end of the link command).
|
| |
| |
| |
| |
| |
| | |
PCP was only used for DPCP before
tests: add some basic tests for PCP under P-FP
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
dissertation (branch bbb-diss)
I took the unchanged code but removed references
to OMLP which was and is not implemented
tests: changed so that they work for P-FP
|
|\ \
| | |
| | |
| | |
| | | |
Conflicts:
Makefile
|
| | | |
|
| |/
| |
| |
| |
| |
| |
| | |
Also changed the LITMUS_TRY/LITMUS_CATCH/END_LITMUS_TRY macros
to use if/else-if chains instead of switch statements. This is
because SIGRTMAX is a variable in libc and not a compile-time
constant (switches cant be used).
|
|/ |
|
|
|
|
|
|
|
| |
This avoids passing random stack contents to the kernel
if the structure gained some fields due to plugin development.
(Also, fix up some white space issues while we are at it.)
|
|
|
|
|
|
|
|
| |
how their execution budgets should be enforced: NO_ENFORCEMENT,
QUANTUM_ENFORCEMENT, and PRECISE_ENFORCEMENT (unsupported).
NOTE: Users of NO_ENFORCEMENT must call sleep_next_period() at the
end of every job to signal to the kernel that its job is complete.
|
|
|
|
| |
Allows for higher-precision setup of real-time tasks.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- use declarations from kernel
- get rid of stuipd system call macros
|
| |
|
|
|
|
|
|
|
| |
- Don't apply real-time parameters to thread group leader, apply them to
the current thread.
- Return 0 if no error occured in init_litmus() to make it consistent with
the system calls of liblitmus.
|
| |
|
| |
|
| |
|
|
|
| |
The old clone based hack will be removed soon.
|
| |
|
| |
|
| |
|
|
|
| |
update system call interface
|
| |
|
|
|
| |
This will break libso.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Most RT tasks need to do some cleanup before they can terminate.
The litmus_task_active() API automates the catching of signals that
indicate that the RT task should terminate.
|
|
|