genode/repos/base-hw/src/core/kernel
Martin Stein c9272937e7 CPU session: apply quota via relative weightings
Physical CPU quota was previously given to a thread on construction only
by directly specifying a percentage of the quota of the according CPU
session. Now, a new thread is given a weighting that can be any value.
The physical counter-value of such a weighting depends on the weightings
of the other threads at the CPU session. Thus, the physical quota of all
threads of a CPU session must be updated when a weighting is added or
removed. This is each time the session creates or destroys a thread.

This commit also adapts the "cpu_quota" test in base-hw accordingly.

Ref #1464
2015-05-06 10:55:16 +02:00
..
cpu.cc hw: syscall for changing a threads physical quota 2015-04-23 16:51:33 +02:00
irq.cc hw_arndale: enable ARM virtualization extensions 2015-02-27 11:48:05 +01:00
kernel.cc CPU session: apply quota via relative weightings 2015-05-06 10:55:16 +02:00
pd.cc hw & arm_v7: mode transition via transit ttbr0 2014-08-15 10:19:48 +02:00
signal_receiver.cc hw: fix bug in cancellation of 'await_signal' 2015-04-09 16:04:44 +02:00
test.cc hw: enable kernel-internal tests via run tool 2014-11-28 12:02:34 +01:00
thread.cc CPU session: apply quota via relative weightings 2015-05-06 10:55:16 +02:00
vm_thread.cc hw: directly reference kernel objects from core 2015-04-17 16:13:20 +02:00