aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
Commit message (Collapse)AuthorAge
...
* Use preempt_enable_no_resched() before calling schedule() anyway.Bjoern B. Brandenburg2007-09-23
|
* Fix litmus_controlled initialization bug.Bjoern B. Brandenburg2007-09-23
| | | | | litmus_controlled was 0 until _after_ first successful wake up. Also adds some more debug info to mode switches.
* Access per-cpu variable non-preemptivelyBjoern B. Brandenburg2007-09-23
| | | | | Since SRP only works under partitioning, this is superfluous, but it makes Linux shut up (in debug builds).
* Fix PSN-EDF scheduling logic.Bjoern B. Brandenburg2007-09-23
| | | | This fixes a bug with the preemption and non-rt mode logic.
* Another sanity check.Bjoern B. Brandenburg2007-09-23
|
* Make sufficient number of PI semaphores and SRP resources available.Bjoern B. Brandenburg2007-09-22
| | | | | Also fixes a case where the kernel would have returned to userspace with preemptions disabled.
* Prevent corruption from multiple Feather-Trace readers.Bjoern B. Brandenburg2007-09-22
| | | | Introduces Feather-Trace reader semaphore.
* Some cleanup and an attempt to pin point a race condition.Bjoern B. Brandenburg2007-09-22
|
* Fix a race between np_mem_kill() and do_exit().Bjoern B. Brandenburg2007-09-22
| | | | | Don't try to reference signal related data structures after the tear down of the task has started.
* Allocate more semaphores for the test runs.Bjoern B. Brandenburg2007-09-22
|
* reintroduce TS_EXIT_NP_* Feather-Trace events.Bjoern B. Brandenburg2007-09-17
|
* PSN-EDF now seems to workBjoern B. Brandenburg2007-09-13
| | | | | I cannot reproduce any crashes under QEMU any more, and the code looks like it's ok. I'll test it on the real machine next.
* add flag based np-sectionsBjoern B. Brandenburg2007-09-13
| | | | | | This commit introduces the infrastructure for flag based np sections. It also features an overhauled GSN-EDF scheduler that respects the flags (and has less bugs).
* Merge with wait_for_job_release().Bjoern B. Brandenburg2007-08-23
|\
| * Add wait_for_job system callBjoern B. Brandenburg2007-08-21
| | | | | | | | Allow userspace to wait for a specific job release.
| * Add job_no to struct rt_timesBjoern B. Brandenburg2007-08-21
| | | | | | | | | | Adds the notion of a job sequence number to the LITMUS per-task state. This will allow userspace to refer to specific jobs.
* | Change fifo_domain_t to rt_domain_t + bug fixes.Bjoern B. Brandenburg2007-08-23
| |
* | Introduce rt_domain_t.Bjoern B. Brandenburg2007-08-23
|/
* Fix locking bug in GSN-EDF.RTSS07Bjoern B. Brandenburg2007-05-18
|
* Fix partition handling of PSN-EDF.Bjoern B. Brandenburg2007-05-18
|
* Make PI semaphores under PSN-EDF non-preemptable.Bjoern B. Brandenburg2007-05-17
|
* Let PI semaphores inherit only inside a partition.Bjoern B. Brandenburg2007-05-17
| | | | | - Track hp.cpu_task per partition - inherit priority only from local tasks
* Prepare struct pi_semaphore for per-CPU PI protocol as required by FMLP.Bjoern B. Brandenburg2007-05-17
|
* Restructure PI semaphores so that they are easier to trace.Bjoern B. Brandenburg2007-05-17
|
* Add timestamps to semaphore functionsBjoern B. Brandenburg2007-05-17
|
* Don't disable interrupts in semaphore syscalls.Bjoern B. Brandenburg2007-05-17
| | | | | We don't need to protect against interrupts in the semaphore functions since semaphores are never touched from interrupt context.
* Fix compiler warnings.Bjoern B. Brandenburg2007-05-17
|
* Make the inclusion of sched_trace_XXX() and TRACE() a configurable option.Bjoern B. Brandenburg2007-05-17
| | | | This allows us to remove the debugging code from benchmarking kernels.
* Fix a compiler warning.Bjoern B. Brandenburg2007-05-17
|
* Insert trigger for enter_np()/exit_np() tracing.Bjoern B. Brandenburg2007-05-16
|
* Make sched_trace conditional.Bjoern B. Brandenburg2007-05-16
| | | | TODO: Make it a .config option.
* Place trigger for scheduling overhead benchmark.Bjoern B. Brandenburg2007-05-16
|
* Add time stamps for schedule(), the timer interrupt, and the pluginBjoern B. Brandenburg2007-05-16
| | | | scheduler_tick() and schedule() callbacks.
* Change feather-trace device to support enabling and disabling of events.Bjoern B. Brandenburg2007-05-16
|
* Merged Feather-Trace.Bjoern B. Brandenburg2007-05-15
|
* Activate ceiling blocking and fix a stupid list corruption bug.Bjoern B. Brandenburg2007-05-15
|
* Reworked SRP implementation.Bjoern Brandenburg2007-05-15
|
* PSN-EDF priority inheritance implementation.Bjoern B. Brandenburg2007-05-15
|
* Move edf_set_hp_task() to litmus_sem.c as it needs to have knowledge ofBjoern B. Brandenburg2007-05-15
| | | | what is stored in the wait queue's ->private field.
* PI implementation for sched_gsn_edf.cBjoern B. Brandenburg2007-05-15
|
* Fixed several bugs in the semaphore code concerning racing wake ups + miscBjoern B. Brandenburg2007-05-15
| | | | fixex.
* Fix try_to_wake_up() for RT tasks if it races with schedule.Bjoern B. Brandenburg2007-05-15
| | | | | We need to set the task state to TASK_RUNNING if it races, otherwise the task might get lost once it gets de-scheduled.
* First part of the PI semaphore implementation.Bjoern B. Brandenburg2007-05-14
| | | | | | | | | | | - move struct pi_semaphore to place where it makes more sense (not included everywhere) - change semantics of scheduler plugin callbacks and add comments - remove old unneeded code - compile fixes Note: The plugins don't actually work yet, since the semantics of the callbacks have changed. That will be fixed in the next patch.
* Move common code to edf_common.c.Bjoern B. Brandenburg2007-05-14
| | | | | Finding the highest-priority task in a pi_semaphore is same in all EDF-based plugins.
* Fix gsnedf_sleep_next_period() locking.Bjoern B. Brandenburg2007-05-14
|
* Fix GSN-EDF sleep_next_periodBjoern B. Brandenburg2007-05-14
| | | | | The standard EDF implementation does not work for GSN-EDF since it does not perform the task preparation in schedule().
* Reimplemented LITMUS standard FIFO semaphores + misc fixesBjoern B. Brandenburg2007-05-14
| | | | | | | This version is much more straightforward than the last one and actually enforces FIFO order in all cases. Further, it removes the need for the sem_wake_up() calls by providing a custom wake up function for the wait queue.
* Move specialized PI semaphore code into litmus_sem.c + small fixBjoern B. Brandenburg2007-05-14
| | | | | | | - Let's keep all the code belonging to LITMUS in one place, this makes maintenance and porting much easier. - add_wait_queue_exlclusive_locked() sets the exclusive flag anyway
* Start of LITMUS semaphore, PI, and SRP rewrite.Bjoern B. Brandenburg2007-05-14
| | | | | Rearrange the code to get out of the architecture dependent areas of the kernel and make it live in a central file, kernel/litmus_sem.c.
* Initial implementation of inherit and return priority for PSN-EDF.Bjoern B. Brandenburg2007-05-13
|