aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/bheap.c
Commit message (Collapse)AuthorAge
* Proper sobliv draining and many bug fixes.wip-2012.3-gpu-sobliv-budget-w-ksharkGlenn Elliott2013-04-04
| | | | | | | | | | | | | | | | | | | | | Proper sobliv draining: Always and only drain budget from a task if its BASE priority is among the top m processors in the cluster. This required some work with timers and tracking of consumed budget while a task is suspended (since the Linux rq won't track this for us). Had to introduce a number of hacks and kludges to make this work in the required timeframe: 1) C-EDF's ready queue lock becomes recursive (yuck!) 2) Extend bheap with a for_each visitor function. This is needed to set a timer for each newly released job. 3) Dual-binary heap structure in C-EDF to divide jobs into top-m and not-top-m tasks. 4) Restructured the budget plugin API. Unfortunatly, there is not a lot of overlap between SIMPLE and SOBLIV draining policies.
* SOBLIV: Drain budget while task is in top-m only.Glenn Elliott2013-04-01
| | | | Also fixed numerous bugs...
* work in progress.Glenn Elliott2013-03-22
|
* Refactor binomial heap names: heap -> bheapAndrea Bastoni2010-05-29
- Binomial heap "heap" names conflicted with priority heap of cgroup in kernel - This patch change binomial heap "heap" names in "bheap"