aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAge
* Set default not-pgm-node in init_rt_paramwip-ecrts14-pgmGlenn Elliott2014-01-17
|
* Hack: Remap CPUs IDs to match Ludwig's cache topo.Glenn Elliott2014-01-02
| | | | | | This temporary patch remaps CPU IDs to match Ludwig's cache topology. Thus, "virtual" CPUs 0 and 1, which share an L2 cache, are remapped to CPUs 0 and 4.
* Add support for job splitting.wip-pgmGlenn Elliott2013-11-26
| | | | | This patch adds support for job splittinig schedulers. The default split factor for jobs is 1 (unchanged behavior).
* Update PGM interface with kernelGlenn Elliott2013-11-19
| | | | | | This patch updates the PGM interface with the kernel. Producers now boost their priority when generating tokens, not consumers while waiting for tokens.
* Add PGM support.Glenn Elliott2013-09-27
| | | | | Adds routines for userspace tasks to use to communicate their state to the Litmus kernel.
* Switch NP flag format back to 32 bits (uint32_t)2013.1Bjoern Brandenburg2013-07-21
| | | | This matches the corresponding change in the kernel.
* User large enough buffer to read /proc/litmus/release_masterpgmHiroyuki Chishiro2013-07-02
| | | | The string 'NO_CPU' needs to fit into the buffer.
* Add testcase for admission of suspended tasksBjoern Brandenburg2013-06-08
| | | | | | The kernel needs to be able to deal with tasks that do not make themselves a real-time task, but get configured by some other task instead.
* Update constat SPORADIC->TASK_SPORADICBjoern Brandenburg2013-06-08
| | | | | A recent patch changed the name of the constant in the kernel. Update liblitmus accordingly.
* Fix compile failure related to aliasing (gcc 4.4.5)Bjoern Brandenburg2013-04-17
| | | | | | | | My version of gcc would complain about "dereferencing pointer does break strict-aliasing rules" because of a (harmless) pointer cast. This patch adds a helper void pointer to make the assignment explicit, which avoids the cast and hence silences the warning.
* Change convenience API routines.Glenn Elliott2013-03-12
| | | | | | | | | | | | | 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.
* Add init_rt_task_param().Glenn Elliott2013-03-12
| | | | | Adds init_rt_task_param(). Facilitates setting up default real-time task attributes that cannot be set by memset(0).
* Cluster-aware rtspin and rt_launch.Glenn Elliott2013-03-12
| | | | | | | | | 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).
* Auto-CPU-affinity from part./cluster assignment.Glenn Elliott2013-03-12
| | | | | | | | | | | 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().)
* Add basic locking support to rtspinBjoern Brandenburg2013-02-04
| | | | | | 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.
* rt_launch: add support for -q <priority>Bjoern Brandenburg2013-01-11
| | | | This mirrors the option in rtspin.
* Make release_ts a bit more userfriendlyBjoern Brandenburg2013-01-11
| | | | | | | The -f option required manually *also* setting the -w option. This is no longer required. While at it, simplify the code by using the /proc interface.
* Add control page offset checksstagingBjoern Brandenburg2012-12-06
| | | | | Make sure the kernel and userspace compilers have the same idea of the layout of the control page.
* Implement lt_sleep() syscall wrapperBjoern Brandenburg2012-08-14
| | | | | Wrap nanosleep() to make sleeping for a given number of nanoseconds easier, using the LITMUS^RT time type lt_t.
* Implement get_nr_ts_release_waiters() /proc wrapperBjoern Brandenburg2012-08-14
| | | | | Add a wrapper for /proc/litmus/stats to make it easy to query the number of tasks already waiting for a task set release.
* API Update: Support arbitrary deadlines.Glenn Elliott2012-08-01
| | | | | | | | 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).
* P-FP: make PCP available to user spaceSven Dziadek2012-05-31
| | | | | | PCP was only used for DPCP before tests: add some basic tests for PCP under P-FP
* P-FP: port P-FP plugin used in B. Brandenburg'sSven Dziadek2012-05-31
| | | | | | | | | 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
* Switch to new np-section protocol.Bjoern B. Brandenburg2011-11-24
| | | | Everything is in one 32-bit word now.
* update headersBjoern B. Brandenburg2011-11-24
| | | | we need uint64_t in litmus.h
* switch to generic locking system callsBjoern B. Brandenburg2011-02-03
| | | | | The new generic lock layer in LITMUS^RT does away with per-protocol system calls. Change accordingly.
* Export wctime() and cputime() from rtspin to library clientsBjoern B. Brandenburg2011-02-03
| | | | | The timing functions are quite handy when building benchmark tasks. Avoid copy&paste reuse by making them available via the library.
* remove asm/atomic.hBjoern B. Brandenburg2010-11-09
| | | | | | | | | | | For historic resons, we carry old atomic operations support in liblitmus. This is no longer useful: 1) There is actually no client for these calls in liblitmus. 2) There is now a standard gcc API for this purpose. http://gcc.gnu.org/onlinedocs/gcc/Atomic-Builtins.html Thus, we can reduce our maintenance burden.
* refactor: remove all architecture-dependent code from include/Bjoern B. Brandenburg2010-11-09
| | | | Move the architecture-dependent code to the arch/ subtree.
* avoid including header files directlyBjoern B. Brandenburg2010-11-09
| | | | | | | | | | | | | | | The kernel warns against including header files directly. For good reason: our previous approach (just -I$KERNEL/include) caused all kinds of files to be included that should have come from /usr/include instead. This patch rewrites the Makfile so that the (few) needed headers are copied into the liblitmus src tree before compiling the library. This avoids having to specify the kernel include directories with -I, and also makes it easier to link against liblitmus (external applications do not need to know where the kernel is). Finally, this allows us to enable -Werror.
* zero out rt_task parameters before setting themBjoern B. Brandenburg2010-09-22
| | | | | | | 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.)
* Support budget enforcement policies. Allows tasks to specifyGlenn Elliott2010-05-20
| | | | | | | | 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.
* Add get_control_page() library functionAndrea Bastoni2010-04-12
|
* Re-implement non-preemptive section support.Bjoern B. Brandenburg2010-02-03
| | | | Layered on top of the LITMUS control page.
* sleep_next_period() maps on syscall sys_complete_jobAndrea Bastoni2009-12-17
|
* Temporary remove non-preemptive CSAndrea Bastoni2009-12-17
|
* sparc64: disable np-flag supportBjoern B. Brandenburg2009-04-29
| | | | Doesn't work reliably right now anyway.
* add sporadic_task_ns() helperBjoern B. Brandenburg2009-04-29
| | | | Allows for higher-precision setup of real-time tasks.
* remove sched_trace stuff from liblitmusBjoern B. Brandenburg2009-04-14
|
* add null_call() system callBjoern B. Brandenburg2009-03-02
| | | | For kernel entry/exit tracing.
* sched_trace: provide event ID for INVALID eventsBjoern B. Brandenburg2008-12-09
|
* add support system release eventsBjoern B. Brandenburg2008-12-01
|
* add event_time(), remove cruftBjoern B. Brandenburg2008-10-29
|
* add some detail to st_dump outputBjoern B. Brandenburg2008-10-28
|
* API for basic display of sched_trace dataBjoern B. Brandenburg2008-09-24
|
* sched_trace: remove old definitions, include kernel headerBjoern B. Brandenburg2008-09-16
|
* Add best effort task migration, so that we can support PSN-EDF.Bjoern B. Brandenburg2008-05-02
|
* Use _GNU_SOURCE for all files. Fix wrong prototypes.Bjoern B. Brandenburg2008-05-02
|
* isolate architecture dependent codeBjoern B. Brandenburg2008-05-01
|
* API change: PI->FMLPBjoern B. Brandenburg2008-05-01
|