genode/repos/base-hw
Martin Stein 8dad54c914 hw: fix scheduler timing on prio preemption
Previously, the timer was used to remember the state of the time slices.
This was sufficient before priorities entered the scene as a thread always
received a fresh time slice when he was scheduled away. However, with
priorities this isn't always the case. A thread can be preempted by another
thread due to a higher priority. In this case the low-priority thread must
remember how much time he has consumed from its current time slice because
the timer gets re-programmed. Otherwise, if we have high-priority threads
that block and unblock with high frequency, the head of the next lower
priority would start with a fresh time slice all the time and is never
superseded.

fix #1287
2014-11-14 12:00:45 +01:00
..
doc Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
include hw: re-organize file structure 2014-08-15 10:19:48 +02:00
lib/mk hw: set TTBR0 according to CPU facilities 2014-10-10 13:02:30 +02:00
mk hw: core as library 2014-07-24 10:18:06 +02:00
run hw: let assembler constants be upper-case (Ref #1180) 2014-06-26 10:57:26 +02:00
src hw: fix scheduler timing on prio preemption 2014-11-14 12:00:45 +01:00