aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* build gpusync for litmus, not vanilla linuxwip-2012.3-gpuGlenn Elliott2013-04-14
|
* Implemented gpusync rtspin.Glenn Elliott2013-04-14
|
* Test tool budget enforcement methods.Glenn Elliott2013-03-21
|
* FIX: Ignore SIG_BUDGET until explicitly unblocked.Glenn Elliott2013-03-21
| | | | | | The SIG_BUDGET should be ignored until the user code is ready for them, even if that code has already set up a signal handler.
* Change create_rt_task() to task rt_task parameter.Glenn Elliott2013-03-21
| | | | | | | This updates create_rt_task() to take an rt_task parameter instead of a number of task parameters. This probably should have been a part of patches recent patches that revised the sproadic_*() macros.
* Merge branch 'prop/rt_task-init-final' into tempGlenn Elliott2013-03-13
|\ | | | | | | | | | | | | | | | | | | Conflicts: bin/base_mt_task.c bin/rt_launch.c bin/rtspin.c include/litmus.h src/litmus.c src/task.c
| * 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().)
* | Merge branch 'gh/staging' into tempGlenn Elliott2013-03-13
|\| | | | | | | | | | | | | | | Conflicts: Makefile bin/rt_launch.c bin/rtspin.c src/task.c
| * Make github/staging complatible with -O2.Glenn Elliott2013-03-12
| | | | | | | | | | Minor changes to test case code to enable compilation with 'gcc -O2' (gcc v4.7.2).
| * uncachedev: uncache test tool.Glenn Elliott2013-03-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the uncache test tool (bin/uncache.c). The tool can be used to test Litmus's char device driver for allocating uncacheable CPU memory. The tool runs various checks and gathers basic cache vs. main memory statistics. In the future, uncache could be extended to quantify the benefits of the L1, L2, and L3 caches, instead of treating them as a black box. Note: Uncache works best when compiled with '-O2'. While '-O2' has not been added to the Makefile, other code was updated (code in tests/ and rtspin), to compile with -O2. DEPENDS UPON LITMUS-RT PATCH 888d097deb6d1fdc0c89a4f9667fd81cf416cfc7.
| * Add test cases that check whether nesting is prohibitedBjoern Brandenburg2013-02-15
| | | | | | | | | | The kernel should deny attempts to nest resources in ways that are not supported.
| * 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.
| * Include PID info in test failuresBjoern Brandenburg2013-01-14
| | | | | | | | Useful for correlating test failures to events in traces.
| * Add tests for PCP/SRP ceiling blockingBjoern Brandenburg2013-01-11
| | | | | | | | | | Context: priority inheritance triggered a BUG_ON() in fp_common.c. While at it, add a similar test for the SRP.
| * 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.
* | Work with wip-2012.3-gpuGlenn Elliott2013-02-28
| |
* | support log injectionGlenn Elliott2013-01-27
| |
* | merge stashGlenn Elliott2013-01-10
| |
* | Clean up GPU test code placement.Glenn Elliott2013-01-10
| |
* | Merge branch 'mpi-master' into wip-2012.3-gpuGlenn Elliott2013-01-10
|\| | | | | | | | | | | | | | | Conflicts: Makefile bin/rtspin.c include/litmus.h src/litmus.c
| * Pull fpmath.h for use in liblitmus.2012.3Glenn Elliott2012-12-21
| | | | | | | | | | | | Branch litmus-rt/prop/robust-tie-break added fpmath.h for fixed-point computations. Updated Makefile to pull this header from litmus-rt so it may also be used in liblitmus.
| * 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.
| * Add testcase for preemptions on wakeup under P-EDF and P-FPBjoern Brandenburg2012-08-14
| | | | | | | | | | | | Resuming higher-priority tasks should of course preempt lower-priority tasks. This test case infers if higher-priority tasks are unreasonably delayed.
| * 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.
| * Reduce artifical delay in testBjoern Brandenburg2012-08-14
| | | | | | | | | | The 2 second delay was quite annoying. Make it short enough to not be so obvious.
| * Add tests for the DPCP and the MPCPBjoern Brandenburg2012-08-14
| | | | | | | | | | Do the basic open/lock/unlock/close test sequence for the MPCP and the DPCP as well.
| * Add convenience wrappers for the DPCP and MPCPBjoern Brandenburg2012-08-14
| | | | | | | | For consistency reasons and to document the cpu parameter of the DPCP.
| * git: ignore files generated by the build systemBjoern Brandenburg2012-08-14
| | | | | | | | Prevents accidental staging of auto-generated files.
| * test case: reject infeasible densities2012.2archive/unc-master-3.0Bjoern Brandenburg2012-08-01
| | | | | | | | | | Add a test that makes sure that the kernel does indeed not accept infeasible densities.
| * Run test suite for currently active plugin by defaultBjoern Brandenburg2012-08-01
| | | | | | | | Try to infer current plugin if no plugin is specified.
| * Add a little explanation to the basic task prototypesBjoern Brandenburg2012-08-01
| | | | | | | | Also add the priority parameter, which was missing.
| * 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).
| * Properly report tests that segfault.Bjoern Brandenburg2012-07-23
| | | | | | | | | | Segmentation faults are clearly test failures; make sure to report them accordingly.
| * New test: /dev/litmus/ctrl must be writableBjoern Brandenburg2012-07-23
| | | | | | | | | | Under any plugin, the control page should be mappable and writable.
| * Add test cases for P-FP prioritiesBjoern Brandenburg2012-06-26
| | | | | | | | | | Make sure out-of-range priorities are always rejected.
| * Make use of kernel-provided FP macrosBjoern Brandenburg2012-06-26
| | | | | | | | | | | | Use the kernel's notion of fixed priorities. Also, add some clarifying comments to the task setup wrappers.
| * 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
* | blargGlenn Elliott2013-01-09
| |
* | Merge branch 'wip-gpu-rtas12' into wip-slave-threadsGlenn Elliott2013-01-09
|\ \ | | | | | | | | | | | | | | | Conflicts: Makefile src/syscalls.c
| * | workingGlenn Elliott2012-09-11
| | |
| * | Merge remote-tracking branch 'github/prop/litmus-signals' into wip-gpu-rtas12Glenn Elliott2012-09-10
| |\ \ | | | | | | | | | | | | | | | | Conflicts: Makefile
| | * | Added signal-related comments. Made g++ friendly.prop/litmus-signalsGlenn Elliott2012-09-07
| | | |
| | * | Updated sporadic_task() to take sig policy.Glenn Elliott2012-09-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
| | * | Enable handling of Litmus signals.Glenn Elliott2012-09-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for handling Litmus-specific signals. Includes framework try/catch-style handling of signals. SIG_BUDGET is the only Litmus signal at the moment.