aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/event_group.c
Commit message (Collapse)AuthorAge
* Add level-A release and remove some bad time-trace macros.Christopher Kenna2011-10-11
|
* Fixed level-A crash when cancel task executionJonathan Herman2011-10-10
|
* Adding events is now accomplished in O(1) timeJonathan Herman2011-10-10
|
* Fixed potential race condition in event group timerJonathan Herman2011-10-10
|
* Allow events to be cancelled when their list is processedJonathan Herman2011-10-09
|
* Fixed a timer bug and implemented finish switch.Jonathan Herman2011-10-09
| | | | | | | | | The logic for cancelling a remote timer allowed timers to be enqueued twice in the pull list. A method hrtimer_pull_cancel() was added to hrtimer.c to cancel the timers properly. Finish-switch was added to fix a stack bug. This required a change to the global_preempt check in update_crit_levels
* Fixed bug with CE higher priorityJonathan Herman2011-10-09
|
* Renamed list variables for clarity in event_listJonathan Herman2011-10-08
|
* Allow scheduler to 'logically' remove crit_entry's from level-C heap.Jonathan Herman2011-10-08
| | | | | This required fixes to hrtimer_start_on code so that events can be cancelled or re-armed while an hrtimer pull is in progress.
* Fixed timer issue and atomic remove issue in level A domain.Jonathan Herman2011-10-08
| | | | | | | | | | | Timers had an issue where they couldn't be cancelled before they migrated. Now when you set the start_on_info to inactive, it will prevent a timer from being armed. When a task is being blocked and preempted concurrently, the blocking code needs to be able to prevent the task from being scheduled on another CPU. This did not work for CE domains. Added a per-domain remove function which, for ce domains, will prevent a task from being returned by the domain.
* Bug fix for cancel eventsJonathan Herman2011-09-30
|
* Debug commit.Christopher Kenna2011-09-30
| | | | | | | Some things are working, but the kernel panics when you try and deallocate an event group. Committed so Jonathan can look at it.
* Merge branch 'wip-mc' of ↵Jonathan Herman2011-09-30
|\ | | | | | | ssh://cvs.cs.unc.edu/cvs/proj/litmus/repo/litmus2010 into wip-mc
| * Refactor timer merging and add it to CE plugin.Christopher Kenna2011-09-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | THIS CODE IS UNTESTED We now initialize one event group for each cpu on system start. We can get the event group for a CPU via a function in event_group.c Another change is that an event now stores what group it is in when it add_event() is called on it. This lets us cancel it without knowing what event group it is in. The above is important because Level-C events (like releases) have a NULL event group. When calling add_event(), it will get the event group of the current CPU. If the event needs to be canceled later, we need that saved group in the event so we know where to remove it from.
* | Added display of number of timers mergedJonathan Herman2011-09-28
|/
* Merged with ce domainsJonathan Herman2011-09-27
|\
| * checkpoint before refactorChristopher Kenna2011-09-26
| |
* | Timer mergingJonathan Herman2011-09-27
|/
* Fix compilation errors for event list.Christopher Kenna2011-09-25
|
* Checkpoint commit,initial timer merge designJonathan Herman2011-09-24