aboutsummaryrefslogtreecommitdiffstats
path: root/tests/pcp.c
Commit message (Collapse)AuthorAge
* Tests: stress PCP, DPCP, DFLP, and SRP by intentionally migrating awayBjoern Brandenburg2015-07-27
| | | | Triggers a BUG_ON() in the old kernel.
* Testcases: create PCP and DFLP locks with invalid CPU parametersBjoern Brandenburg2015-07-27
|
* Testcase: create DPCP lock with invalid CPU parameterBjoern Brandenburg2015-07-27
|
* Remove over-specification of task parameters from two testsBjoern Brandenburg2014-06-03
| | | | Don't override the defaults unless required.
* Add test cases for exiting/mode-changing lock holdersBjoern Brandenburg2014-03-19
| | | | | This crashes old versions of the kernel. Kernel patches fixing the various panics have been merged into the kernel staging tree.
* liblitmus/tests: Add PCP-DPCP interleaving testRoy Spliet2014-03-19
|
* 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.
* 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().)
* 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 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.
* 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.
* 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