Describe the solution you'd like
The kernel supports boosting the priority of a vcpu when it is woken up from sleep. This boost then decays over time. The boost can be applied when sending a signal (vcpu_sigsend_with_boost()) or when signalling/broadcasting a condition variable (cnd_signal_with_boost() and cnd_broadcast_with_boost()).
The only driver currently taking advantage of this is the HID manager which boosts the priority of the process that is waiting for keyboard/mouse events.
We should extend this such that more drivers are taking advantage of the priority boost. E.g. disk driver, sound driver (once it exists).
Describe the solution you'd like
The kernel supports boosting the priority of a vcpu when it is woken up from sleep. This boost then decays over time. The boost can be applied when sending a signal (
vcpu_sigsend_with_boost()) or when signalling/broadcasting a condition variable (cnd_signal_with_boost()andcnd_broadcast_with_boost()).The only driver currently taking advantage of this is the HID manager which boosts the priority of the process that is waiting for keyboard/mouse events.
We should extend this such that more drivers are taking advantage of the priority boost. E.g. disk driver, sound driver (once it exists).